Status: New
Owner: ----

New issue 3100 by [email protected]: RegEx is hanging in Chrome 31.0.1650.63
http://code.google.com/p/v8/issues/detail?id=3100

Run the following Javascript in the Chrome developer console:

var s = "aa , aa , aa , aa, aa, aa, aa";
console.log(new RegExp('(\\s*\\w+\\s*,\\s*)*bb', 'i').exec(s));

Now run the same command in FireFox and notice that it finished instantly.

Of course, the RegEx is not a good RegExp, so I wouldn't be surprised if you never this bug. I just wanted to make v8 aware of the performance problem. The RegExp can be fixed by changing it to '(\\s*\\w+\\s*,)*\\s*bb' which should have the same effect.

--
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