Regular Expressions 101

Sponsors

Library entries

0
pcre2

Json键值对提取

Json键值对提取
Submitted by hippopie - a year ago
0
pcre2

Lab 6 es 2.3

Carry a payload which is either ping or pong
Submitted by anonymous - a year ago
0
pcre2

lab 6 es 2.2

messages have been sent to bob
Submitted by anonymous - a year ago
0
pcre2

lab 6 es 2.1

messages directed towards alice
Submitted by anonymous - a year ago
0
pcre2

Lab 6 es 1.2

Accept long as first input argument
Submitted by anonymous - a year ago
0
pcre2

Lab 6 es 1.1

return an int
Submitted by anonymous - a year ago
0
pcre2

Phone number

Phone number
Submitted by nipo - a year ago
0
pcre2

sabre parse

simple sabre line parser
Submitted by aleks777 - a year ago
0
pcre2

ip:port check

ip:port check
Submitted by anonymous - a year ago

object

Vote

2

Regular Expression
pcre2

/
(?(DEFINE)(?P<space>[\s\n]*))(?(DEFINE)(?P<string>("[^"]*")))(?(DEFINE)(?P<integer>\d+))(?(DEFINE)(?P<PValue>((?P>string)|(?P>integer))))(?(DEFINE)(?P<PSV>(?P>space):(?P>space)))(?(DEFINE)(?P<PSP>(?P>space),(?P>space)))(?(DEFINE)(?P<PName>(?P>string))(?>(?P>PSV)))(?(DEFINE)(?P<property>(?P>PName)(?>(?P>PSV))(?P>PValue)(?>(?P>PSP)?)))"progressive"(?P>PSV)\[(?P>space)({(?P>property)*}(?P>PSP)?)*]}
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago