We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76f7f4 commit a148caeCopy full SHA for a148cae
doc/syntax.rst
@@ -25,8 +25,14 @@ These macros are used in the BNF specification of the syntax later on.
25
$special = [\.\;\,\$\|\*\+\?\#\~\-\{\}\(\)\[\]\^\/]
26
$graphic = $printable # $white
27
28
+ $lower = a-z
29
+ $upper = A-Z
30
+ $alpha = [$upper $lower]
31
+ $alphanum = [$alpha $digit]
32
+ $idchar = [$alphanum \_ \']
33
+
34
@string = \" ($graphic # \")* \"
- @id = [A-Za-z][A-Za-z'_]*
35
+ @id = $alpha $idchar*
36
@smac = '$' id
37
@rmac = '@' id
38
@char = ($graphic # $special) | @escape
0 commit comments