From 05edfcff9b7eca52571b221e614b5cbf84e7d43d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 10 Apr 2023 13:47:45 -0300 Subject: Documentation Removed '$Id' from all files + updated copyright year + other changes in comments and documentation --- re.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 're.html') diff --git a/re.html b/re.html index 24a582a..ed4ccb1 100644 --- a/re.html +++ b/re.html @@ -10,7 +10,6 @@ -
@@ -95,7 +94,7 @@ equivalent to p / defs[name] equivalent to lpeg.Cmt(p, defs[name]) p ~> name fold capture equivalent to lpeg.Cf(p, defs[name]) -& p and predicate +& p and predicate ! p not predicate p1 p2 concatenation p1 / p2 ordered choice @@ -103,7 +102,7 @@ equivalent to lpeg.Cf(p, defs[name])

Any space appearing in a syntax description can be -replaced by zero or more space characters and Lua-style comments +replaced by zero or more space characters and Lua-style short comments (-- until end of line).

@@ -329,7 +328,7 @@ respecting the indentation:
 p = re.compile[[
   block <- {| {:ident:' '*:} line
-           ((=ident !' ' line) / &(=ident ' ') block)* |}
+           ((=ident !' ' line) / &(=ident ' ') block)* |}
   line <- {[^%nl]*} %nl
 ]]
 
@@ -453,7 +452,7 @@ print(re.match(p, p)) -- a self description must match itself

License

-Copyright © 2008-2015 Lua.org, PUC-Rio. +Copyright © 2008-2023 Lua.org, PUC-Rio.

Permission is hereby granted, free of charge, -- cgit v1.2.3-55-g6feb