I was playing with the "o" modifier for regexs, and was wondering about this switch in relation to performance. It would seem that if the regex itself doesnt ever change, it is always better to use the "o" modifier. For instance, code like this should work faster over a lot of iterations, if we include the "o" modifier.