Add in the 'ignore .*? with ^' optimization.
Start the replacements first.
Get rid of perf data when cleaning.
More perf improvements:

- Turn char class matching into match { } expressions.
- Stop generating hashmaps for every capture group (duh).