Status: Accepted
Owner: [email protected]
CC: erik.corry
Labels: Type-Bug Priority-Medium

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

new RegExp("([^a]*)*b").test("ccccccccccccccccccccccccccccccccc")

takes extremely long time, whereas
new RegExp("([ad]*)*b").test("ccccccccccccccccccccccccccccccccc")

terminates almost immediately.

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

Reply via email to