From c1f6f8e9aa32f731ee3c36dd3d6e51068d44d0af Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Tue, 20 Aug 2019 20:30:44 -0400 Subject: [PATCH] Editorial: Simplify the 'Atom' production ... by merging the two capturing-group alternatives. (This may be affected by the outcome of issue #1673.) --- spec.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/spec.html b/spec.html index d392f80370b..46a2dd6d5cf 100644 --- a/spec.html +++ b/spec.html @@ -30958,8 +30958,7 @@

Patterns

`\` AtomEscape[?U, ?N] [~U] `\` [lookahead == `c`] CharacterClass[?U] - [+U] `(` GroupSpecifier[?U] Disjunction[?U, ?N] `)` - [~U] `(` Disjunction[?U, ?N] `)` + `(` GroupSpecifier[?U] Disjunction[?U, ?N] `)` `(` `?` `:` Disjunction[?U, ?N] `)` [~U] InvalidBracedQuantifier [+U] PatternCharacter @@ -30984,7 +30983,7 @@

Group Specifiers

GroupSpecifier[U] :: [empty] - `?` GroupName[?U] + [+U] `?` GroupName[?U] GroupName[U] :: `<` RegExpIdentifierName[?U] `>` @@ -31688,8 +31687,6 @@

Term

1. Return an internal Matcher closure that takes two arguments, a State _x_ and a Continuation _c_, and performs the following steps: 1. Call RepeatMatcher(_m_, _min_, _max_, _greedy_, _x_, _c_, _parenIndex_, _parenCount_) and return its result. -

----

-

In the above algorithm, references to Atom :: `(` GroupSpecifier Disjunction `)` are to be interpreted as meaning Atom :: `(` GroupSpecifier Disjunction `)` or Atom :: `(` Disjunction `)` .

The production Term :: QuantifiableAssertion Quantifier evaluates the same as the production Term :: Atom Quantifier but with |QuantifiableAssertion| substituted for |Atom|.