Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-08-21 16:40
Flavor·PCRE (Legacy)

/
(assertTrue)(.+?)( ==)
/
g
Open regex in editor

Description

Replaces all occurrences of AssertTrue(a == b); in a file with AssertEquals(a,b), which allows for more information in the test.

Submitted by Chandler Swift