Regular Expressions 101

Community Patterns

Parse group and subgroup names with parameters

0

Regular Expression
PCRE (PHP <7.3)

/
(?:(?<class>.*)\::(?<method>[^|\n]+)(?:\||\n|$)+)?(?:(?<key>[^\|\;\=]+)\=(?<value>[^\|\;\n]+))?
/
g

Description

no description available

Submitted by zeloras - 6 years ago