@@ -400,14 +400,15 @@ tokens:
400
400
401
401
- individual Unicode characters, as defined by the [ JSON
402
402
specification] ( #rfc8259 ) ;
403
- - simple character classes ([ abc] ), range character classes ([ a-z] );
404
- - complemented character classes ([ ^ abc ] , [ ^ a-z ] );
403
+ - simple character classes ("[ abc] "), range character classes ("[ a-z] ");
404
+ - complemented simple character classes ("[ ^ abc ] "),
405
+ complemented range character classes ("[ ^ a-z ] ");
405
406
- simple quantifiers: "+" (one or more), "* " (zero or more), "?" (zero or one),
406
407
and their lazy versions ("+?", "* ?", "??");
407
408
- range quantifiers: "{x}" (exactly x occurrences), "{x,y}" (at least x, at most
408
409
y, occurrences), {x,} (x occurrences or more), and their lazy versions;
409
410
- the beginning-of-input ("^") and end-of-input ("$") anchors;
410
- - simple grouping ("(... )") and alternation ("|").
411
+ - simple grouping ("(" and " )") and alternation ("|").
411
412
412
413
Finally, implementations MUST NOT take regular expressions to be anchored,
413
414
neither at the beginning nor at the end. This means, for instance, the pattern
0 commit comments