@@ -400,14 +400,16 @@ 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 ] );
405
- - simple quantifiers: "+" (one or more), "* " (zero or more), "?" (zero or one),
406
- and their lazy versions ("+?", "* ?", "??");
407
- - range quantifiers: "{x}" (exactly x occurrences), "{x,y}" (at least x, at most
403
+ - simple atoms: ` . ` (any character except line terminator);
404
+ - simple character classes (` [abc] ` ), range character classes (` [a-z] ` );
405
+ - complemented simple character classes (` [^abc] ` );
406
+ - complemented range character classes (` [^a-z] ` );
407
+ - simple quantifiers: ` + ` (one or more), ` * ` (zero or more), ` ? ` (zero or one),
408
+ and their lazy versions (` +? ` , ` *? ` , ` ?? ` );
409
+ - range quantifiers: ` {x} ` (exactly x occurrences), ` {x,y} ` (at least x, at most
408
410
y, occurrences), {x,} (x occurrences or more), and their lazy versions;
409
- - the beginning-of-input ("^" ) and end-of-input ("$" ) anchors;
410
- - simple grouping ("(...)" ) and alternation ("|" ).
411
+ - the beginning-of-input (` ^ ` ) and end-of-input (` $ ` ) anchors;
412
+ - simple grouping (using ` ( ` and ` ) ` ) and alternation (` | ` ).
411
413
412
414
Finally, implementations MUST NOT take regular expressions to be anchored,
413
415
neither at the beginning nor at the end. This means, for instance, the pattern
0 commit comments