Teach WORegularExpression to handle invalid substitution expressions (REnamer, 354d493)

If a substitution is invalid we return nil.

We check for substitution validity at the time when the substitution string is set, to avoid doing it repeatedly in a tight loop when working on many files.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Add code-level notes for plug-in (REnamer, 900e393)
Add NSString category for checking substitution validity (REnamer, 3e9e2db) →

All snippets