Updates:
Status: WorkingAsIntended
Comment #5 on issue 3878 by [email protected]: RangeError running RegExp
on large string
https://code.google.com/p/v8/issues/detail?id=3878
This is working as intended. This particular regular expression requires
backtracking. This means that values have to be pushed onto a stack, which
grows proportionally to the subject string as long as there is no match.
V8 implements that stack on the heap, which grows on-demand. The limit
however is at 64MB, which is hit in this case.
In #4 the regular expression is changed so that it fails early, which
avoids the backtracking that comes later. That's why it returns false
instead of throwing.
Firefox uses the same RegExp engine has has the same issue.
--
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/d/optout.