reReplace or replace that is the question
There were a few answers but two revolved around using reReplace() & replace(), and it was these which prompted me to see which would be best for the job.Well the results we quite good, though i also tested on CF4.52 - now this was amazing. Ok, heres test 1:
and heres test 2
Test 1 | Test 2 | ||||
CF4.5 | CFMX | CF4.5 | CFMX | ||
1. | 5939 | 2223 | 4627 | 190 | |
2. | 5887 | 2163 | 4737 | 200 | |
3. | 5908 | 2153 | 4817 | 191 |
Anyway as you can see that by not using the regex engine the CFMX the times drop by roughly 100%.