Title
Production in [re.grammar] not actually modified
Status
c++11
Section
[re.grammar]
Submitter
Stephan T. Lavavej

Created on 2007-08-31.00:00:00 last changed 154 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Remove this mention of the CharacterClass production.

CharacterClass ::
[ [lookahead ∉ {^}] ClassRanges ]
[ ^ ClassRanges ]
Date: 2010-10-21.18:28:33

[ 2009-07 Frankfurt: ]

Move to Ready.

Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

We agree that what is specified is identical to what ECMA-262 specifies. Pete would like to take a bit of time to assess whether we had intended, but failed, to make a change. It would also be useful to hear from John Maddock on the issue.

Move to Open.

Date: 2007-08-31.00:00:00

[tr.re.grammar]/3 and C++0x WP [re.grammar]/3 say:

The following productions within the ECMAScript grammar are modified as follows:

CharacterClass ::
[ [lookahead ∉ {^}] ClassRanges ]
[ ^ ClassRanges ]

This definition for CharacterClass appears to be exactly identical to that in ECMA-262.

Was an actual modification intended here and accidentally omitted, or was this production accidentally included?

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg3525
2010-10-21 18:28:33adminsetmessages: + msg3524
2010-10-21 18:28:33adminsetmessages: + msg3523
2007-08-31 00:00:00admincreate