Comment #2 on issue 2254 by [email protected]: Negated regexp character class take unusually long to evaluate.
http://code.google.com/p/v8/issues/detail?id=2254

A solution that comes to mind is to determine the atoms on the critical path of the regular expression and search for those atoms in the subject string first, in order to fail early.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to