Issue 152: Resolve what to do about \c[
http://code.google.com/p/v8/issues/detail?id=152
New issue report by erik.corry:
According to the spec \c should be followed by a letter. JSCRE allows [
which is fairly confusing to the JS parser and the Regexp parser. For
example (from ecma_3/RegExp/regress-334158.js from Mozilla):
/\c[a/]/.test( "\x1ba/]"
returns true in JSCRE, false in some other JS implementations. In both
cases the JS parser sees a character class, but in the case of JSCRE the
regexp parser isn't seeing a character class. This is in
test/mjsunit/regexp.js.
Issue attributes:
Status: Accepted
Owner: erik.corry
Labels: Type-Bug Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---