From 9dac0b6d8d22705f27b139923948ab050c12f6f5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 22 Apr 2019 14:25:14 -0300 Subject: 'lpeg.version' changed to a string --- lpeg.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lpeg.html') diff --git a/lpeg.html b/lpeg.html index 1295c4f..87348cf 100644 --- a/lpeg.html +++ b/lpeg.html @@ -22,7 +22,7 @@
LPeg
- Parsing Expression Grammars For Lua, version 1.0 + Parsing Expression Grammars For Lua, version 1.1
@@ -145,7 +145,7 @@ so, it succeeds only at the end of the subject. LPeg also offers the re module, which implements patterns following a regular-expression style (e.g., [09]+). -(This module is 260 lines of Lua code, +(This module is 270 lines of Lua code, and of course it uses LPeg to parse regular expressions and translate them to regular LPeg patterns.)

@@ -167,7 +167,7 @@ or the captured values

An optional numeric argument init makes the match start at that position in the subject string. -As usual in Lua libraries, +As in the Lua standard libraries, a negative value counts from the end.

@@ -191,9 +191,9 @@ returns the string "pattern". Otherwise returns nil.

-

lpeg.version ()

+

lpeg.version

-Returns a string with the running version of LPeg. +A string (not a function) with the running version of LPeg.

lpeg.setmaxstack (max)

-- cgit v1.2.3-55-g6feb