« Bugzilla Issues Index
#914 — 15.10.2.9 + 15.10.6.2: "NCapturingParens"
- bug_id:
914
- creation_ts:
2012-11-01 22:59:00 -0700
- short_desc:
15.10.2.9 + 15.10.6.2: "NCapturingParens"
- delta_ts:
2012-11-23 09:45:37 -0800
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 11: October 26, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
minor
- everconfirmed:
true
- reporter:
Michael Dyck
- assigned_to:
Allen Wirfs-Brock
- commentid:
2399
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2012-11-01 22:59:06 -0700
In 15.10.2.9 "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 15.10.6.2 "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 15.10.2.1's NCapturingParens.)
- commentid:
2538
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-11-22 11:14:29 -0800
corrected in rev 12 editor's draft
- commentid:
2635
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-11-23 09:45:37 -0800
corrected in rev 12, Nov. 22, 2012 draft