I remember reading that it still did the recompile even if the variable in the regex did not change. Of course I read that a LONG time ago. Apparently it has been fixed.(probably a long time ago) So would the /o faster by avoiding the extra string compare? I know this would probably be insignificant unless there where a bajillion iterations. But I was just curious.
Do you even know anything about regexes? (see sig)
--
flounder
Do you even know anything about perl?
--Anonymous Coward to Tom Christiansen on slashdot
In reply to Re^4: fastest pattern match
by flounder99
in thread fastest pattern match
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |