Regular Expressions 101

Sponsors

Library entries

0
pcre2

Drealth

just a normal text to the drealth emojis
Submitted by NobreHD - a day ago
0
pcre2

find between 2 strings

find between 2 strings
Submitted by anonymous - 3 days ago
0
pcre2

Jerem

To match specific name based on season code
Submitted by anonymous - 4 days ago
0
pcre2

.csv data conversion for a test case

from "['a']" to "[""a""]"
Submitted by anonymous - 6 days ago
0
pcre2

track OM cash out

cash out tracker
Submitted by anonymous - 7 days ago
0
pcre2

Php

Php
Submitted by Nickname - 7 days ago
0
pcre2

VAQ234S

1
Submitted by anonymous - 10 days ago

oniguruma source group capture

Vote

0

Regular Expression
pcre

/
(?x:#sds ) (?#sdsa) #sda (?x) # extended mode) (?<!\\) # no escape in before paren) (?: # begine or end alternation noncap group) (?<begin>\( # begining pattern paren) (?: # name/index/noncap alternation noncap group) (?<named>\?\< # named ?<name>) (?<name>[\w][\w\d_]+) # capture name) >)| # end of name >) (?<indexed>(?!\?))| # indexed capture group no following ? after paren) (?<nonecap>\?[^<]) # other groups that dont capture no following < after paren) ) # name/index/noncap alternation noncap group) )| # begining pattern end) (?<end>\)) # ending paren ends group scope) )
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago