Regular Expressions 101

Community Patterns

Function Parameter Switcher

2

Regular Expression
PCRE (PHP <7.3)

/
assertEquals\(([^,]+),\s(.+)\);
/
g

Description

Switches the order of two functions in a parameter.

Submitted by anonymous - 9 years ago