@@ -400,16 +400,16 @@ tokens:
400
400
401
401
- individual Unicode characters, as defined by the [ JSON
402
402
specification] ( #rfc8259 ) ;
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
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
410
410
y, occurrences), {x,} (x occurrences or more), and their lazy versions;
411
- - the beginning-of-input ("^" ) and end-of-input ("$" ) anchors;
412
- - simple grouping ("(" and ")" ) and alternation ("|" ).
411
+ - the beginning-of-input (` ^ ` ) and end-of-input (` $ ` ) anchors;
412
+ - simple grouping (` ( ` and ` ) ` ) and alternation (` | ` ).
413
413
414
414
Finally, implementations MUST NOT take regular expressions to be anchored,
415
415
neither at the beginning nor at the end. This means, for instance, the pattern
0 commit comments