Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
%({)?(?P<macro_name>[a-z_][a-z0-9_]*)(?(1)})
/
gm

Description

conditional

Submitted by anonymous - 2 years ago