Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-re
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-re
Commits
446a5900
Unverified
Commit
446a5900
authored
May 02, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nit in RST, update README.rst
parent
5eeeab8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
README.rst
README.rst
+5
-4
vmod_re.vcc
src/vmod_re.vcc
+1
-0
No files found.
README.rst
View file @
446a5900
...
...
@@ -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.
...
...
src/vmod_re.vcc
View file @
446a5900
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment