« Bugzilla Issues Index

#914 — + "NCapturingParens"

In "AtomEscape",
rule 1 step 4 says:
If n=0 or n>NCapturingParens then throw a SyntaxError exception.

In "NCapturingParens", change the "C" to "c".

Similarly in "RegExp.prototype.exec(string)",
under "Runtime Semantics: RegExpExec Abstract Operation",
step 12 says:
Let n be the length of r's captures array.
(This is the same value as's NCapturingParens.)

corrected in rev 12 editor's draft

corrected in rev 12, Nov. 22, 2012 draft