Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2015-06-18 21:09
Flavor·PCRE (Legacy)

/
(?P<group_definition> \( (?P<options>[^\:\>\s\(\)]*[\:\>])? (?P<pattern> (?:[^\)\(]*(?R)*)* ) \) (?P<quantifier> (?:[\*\+\?])| (?: \{(?P<min>\d*) (?: , (?P<max>\d*)? )? \} ) )? )
/
imxg
Open regex in editor

Description

Working on this regex so that I can use it to parse regular expressions and get the group info from them

Submitted by jparish1977@gmail.com