Fix nit in RST, update README.rst

parent 5eeeab8a
......@@ -24,15 +24,15 @@ SYNOPSIS
import re;
# object interface
new <obj> = re.regex(STRING, [, INT limit] [, INT limit_recursion]
new <obj> = re.regex(STRING [, INT limit] [, INT limit_recursion]
[, BOOL forbody])
BOOL <obj>.match(STRING, [, INT limit] [, INT limit_recursion])
BOOL <obj>.match(STRING [, INT limit] [, INT limit_recursion])
STRING <obj>.backref(INT [, STRING fallback])
BOOL <obj>.match_body(req_body | bereq_body | resp_body,
BOOL <obj>.match_body(req_body | bereq_body | resp_body
[, INT limit] [, INT limit_recursion])
# function interface
BOOL re.match_dyn(STRING, [, INT limit] [, INT limit_recursion])
BOOL re.match_dyn(STRING [, INT limit] [, INT limit_recursion])
STRING re.backref_dyn(INT [, STRING fallback])
STRING re.version()
......@@ -201,6 +201,7 @@ BOOL xregex.match_body(ENUM which, INT limit, INT limit_recursion)
)
.. _multi segment matching: https://pcre.org/current/doc/html/pcre2partial.html#SEC4
Description
Like `xregex.match()`_, except that it operates on the named body.
......
......@@ -168,6 +168,7 @@ $Method BOOL .match_body(ENUM {req_body, bereq_body, resp_body } which,
INT limit=0, INT limit_recursion=0)
.. _multi segment matching: https://pcre.org/current/doc/html/pcre2partial.html#SEC4
Description
Like `xregex.match()`_, except that it operates on the named body.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment