aboutsummaryrefslogtreecommitdiff
path: root/re.html
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-07-06 17:03:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-07-06 17:03:22 -0300
commit99cd4b9125ed5bd5f7e5b6756da4f4c0efdebca0 (patch)
treebed5d9b14a7cc150d9790428facf6a0a6f314724 /re.html
parent1b55119610ba5a6752c768c2f997a90c0ffc0546 (diff)
downloadlpeg-99cd4b9125ed5bd5f7e5b6756da4f4c0efdebca0.tar.gz
lpeg-99cd4b9125ed5bd5f7e5b6756da4f4c0efdebca0.tar.bz2
lpeg-99cd4b9125ed5bd5f7e5b6756da4f4c0efdebca0.zip
Details
Diffstat (limited to 're.html')
-rw-r--r--re.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/re.html b/re.html
index ad60d50..24a582a 100644
--- a/re.html
+++ b/re.html
@@ -423,6 +423,7 @@ primary &lt;- '(' exp ')' / string / class / defined
423 / '=' name 423 / '=' name
424 / '{}' 424 / '{}'
425 / '{~' exp '~}' 425 / '{~' exp '~}'
426 / '{|' exp '|}'
426 / '{' exp '}' 427 / '{' exp '}'
427 / '.' 428 / '.'
428 / name S !arrow 429 / name S !arrow
@@ -436,7 +437,7 @@ item &lt;- defined / range / .
436range &lt;- . '-' [^]] 437range &lt;- . '-' [^]]
437 438
438S &lt;- (%s / '--' [^%nl]*)* -- spaces and comments 439S &lt;- (%s / '--' [^%nl]*)* -- spaces and comments
439name &lt;- [A-Za-z][A-Za-z0-9_]* 440name &lt;- [A-Za-z_][A-Za-z0-9_]*
440arrow &lt;- '&lt;-' 441arrow &lt;- '&lt;-'
441num &lt;- [0-9]+ 442num &lt;- [0-9]+
442string &lt;- '"' [^"]* '"' / "'" [^']* "'" 443string &lt;- '"' [^"]* '"' / "'" [^']* "'"