Any ideas?
The regex engine is always slower, but it really doesn't matter, 1000s of files isn't that much
So for now regex matching is still faster. I am doing more testing to make sure this is the correct result.
Post your code, your benchmark might be flawed ( Compare to this benchmark Re: regex alternation )
In reply to Re: Matching simple patterns - is there a faster way?
by Anonymous Monk
in thread Matching simple patterns - is there a faster way?
by mrguy123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |