Show your benchmark. I see about a 75x difference between the single regex and the multiple regex solutions offered by the OP.
Note that benchmarks are rather like statistics: Lies, damn lies and benchmarks.
In reply to Re^4: question about reg exp engine
by GrandFather
in thread question about reg exp engine
by chuckd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |