Comment #8 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

http://code.google.com/p/v8/issues/detail?id=2912

It is an actual problem. We have a server app that uses a lot of regexes.
We faced that issue twice already: dead hang of a server process, a regex going exponential on *some* inputs.

Regarding those two questions:
a) time limit is better given at compile time; we can always set it to e.g. 3 sec for a server process;
b) clearly, throw an exception.

The actual issue is being able to locate/fix that regex fast; graceful degradation is less important here, IMHO.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to