diff options
Diffstat (limited to 'README')
-rwxr-xr-x | README | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -54,9 +54,9 @@ r:match(s[, st[, ef[, co]]]) returns * the start and end point of the first match of the compiled regexp r in the string s, starting from offset st (a - number), subject to execution flags ef (a number);
-
- * PCRE: callout function co may be specified.
+ number), subject to execution flags ef (a number); + + * PCRE: callout function co may be specified. * substring matches ("captures" in Lua terminology) are returned as a third result, in a table (this table @@ -79,7 +79,7 @@ r:exec(s[, st[, ef[, co]]]) substring matches are at offsets 12,14 and 16,19 then the function returns the following: 10, 20, { 12,14,16,19 }. -r:dfa_exec(s[, st[, ef[, co]]])
+r:dfa_exec(s[, st[, ef[, co]]]) --PCRE 6.0 and higher only-- r:gmatch(s, f[, n[, ef]]) |