blob: 48587fb6124bcb95d3e80d41e4f9a98a8df361a8 [file] [log] [blame]
keith_miller@apple.combcc77f22016-07-15 06:03:25 +00001// Copyright (C) 2016 the V8 project authors. All rights reserved.
2// This code is governed by the BSD license found in the LICENSE file.
3/*---
4esid: sec-patterns
5es6id: 21.2.1
6description: Braced quantifier in an Atom position (lower-bounds)
7info: |
8 SyntaxCharacter :: one of
9 ^$\.*+?()[]{}|
10
11 PatternCharacter ::
12 SourceCharacterbut not SyntaxCharacter
13
14 Although Annex B extends the definition of Term to include
15 ExtendedPatternCharacter, it also introduces the InvalidBracedQuantifier
16 pattern with a higher precedence. This makes the SyntaxError for such
17 patterns consistent between Annex-B and non-Annex-B environments.
18negative: SyntaxError
19---*/
20
21/{2,}/;