« Bugzilla Issues Index
#976 — 11.1.8: "characters are collected into Strings"
- bug_id:
976
- creation_ts:
2012-11-20 23:59:00 -0800
- short_desc:
11.1.8: "characters are collected into Strings"
- delta_ts:
2013-11-01 20:12:49 -0700
- 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:
enhancement
- everconfirmed:
true
- reporter:
Michael Dyck
- assigned_to:
Allen Wirfs-Brock
- commentid:
2480
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2012-11-20 23:59:56 -0800
In 11.1.8 "Regular Expression Literals",
under "Runtime Semantics: Evaluation",
step 1 says:
... first, the characters comprising the regular expression's
RegularExpressionBody and RegularExpressionFlags production expansions
are collected uninterpreted into two Strings Pattern and Flags,
respectively.
You should maybe mention that this involves applying UTF-16 Encoding to the characters.
- commentid:
2489
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-11-21 15:48:58 -0800
specifically it should be based uopn the string literal encoding rules in 7.8.4
This may also need to be shifted between 11.1.8 and 7.8.5