Regular Expressions 101

Community Patterns

matching+backreferencing method parameters

1

Regular Expression
PCRE (PHP <7.3)

/
^isCellValueEqualTo\(('[0-9]+\.[0-9]+'), ('CashValue')\);$
/
s

Description

match a specific method name match a quoted double value for method parameter 1 match a quoted, specific string value for method parameter 2

Submitted by nickleus - 8 years ago