Regular Expressions 101

Community Patterns

php `define` match

1

Regular Expression
PCRE (PHP <7.3)

/
\s*define\(\s*(['"])([^\1]+)\1\s*,\s*(['"])([^\3]*)\3\s*\);
/

Description

no description available

Submitted by anonymous - 8 years ago