@@ -400,14 +400,15 @@ tokens:
400400
401401- individual Unicode characters, as defined by the [ JSON
402402 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 ] ");
405406- simple quantifiers: "+" (one or more), "* " (zero or more), "?" (zero or one),
406407 and their lazy versions ("+?", "* ?", "??");
407408- range quantifiers: "{x}" (exactly x occurrences), "{x,y}" (at least x, at most
408409 y, occurrences), {x,} (x occurrences or more), and their lazy versions;
409410- the beginning-of-input ("^") and end-of-input ("$") anchors;
410- - simple grouping ("(... )") and alternation ("|").
411+ - simple grouping ("(" and " )") and alternation ("|").
411412
412413Finally, implementations MUST NOT take regular expressions to be anchored,
413414neither at the beginning nor at the end. This means, for instance, the pattern
0 commit comments