Comment #1 on issue 1259 by [email protected]: RegExp matching is too slow in case of iterative matching of alternatives
http://code.google.com/p/v8/issues/detail?id=1259

The timeout even occured without alternatives. It is sufficient if the pattern contains
an iterative term enclosed by an iterative group.

E.g.:
'xxxxxxxxxxxxxxxxxxxxxxxxxxx'.match(/(x*)*a/);

I think the reason of the timeout is the same as in the case of iterative matching of alternatives.

The problem is same in the mozilla test suite: ecma_3/RegExp/regress-330684 (see test/mozilla/mozilla.status).

The mozilla.status refers to "V8 bug 676063" but it seems is a ghost bug.

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

Reply via email to