Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-re2
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-re2
Commits
3be02287
Commit
3be02287
authored
Nov 22, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update compatibility statement with RE2 versions (through 2017-11-01).
parent
5cc344e0
Pipeline
#395
skipped
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
README.rst
README.rst
+7
-7
set_retrieve.vtc
src/tests/set_retrieve.vtc
+1
-1
set_sub.vtc
src/tests/set_sub.vtc
+1
-1
vmod_re2.vcc
src/vmod_re2.vcc
+1
-1
No files found.
README.rst
View file @
3be02287
...
...
@@ -304,9 +304,9 @@ CONTENTS
========
* regex(STRING, BOOL, BOOL, BOOL, INT, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL)
* BOOL match(STRING, STRING, BOOL, BOOL, BOOL, INT, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL)
* STRING backref(INT, STRING)
* STRING namedref(STRING, STRING)
* BOOL match(
PRIV_TASK,
STRING, STRING, BOOL, BOOL, BOOL, INT, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL)
* STRING backref(
PRIV_TASK,
INT, STRING)
* STRING namedref(
PRIV_TASK,
STRING, STRING)
* STRING sub(STRING, STRING, STRING, STRING, BOOL, BOOL, BOOL, INT, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL)
* STRING suball(STRING, STRING, STRING, STRING, BOOL, BOOL, BOOL, INT, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL)
* STRING extract(STRING, STRING, STRING, STRING, BOOL, BOOL, BOOL, INT, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL, BOOL)
...
...
@@ -582,7 +582,7 @@ match
::
BOOL match(STRING pattern, STRING subject, BOOL utf8=0, BOOL posix_syntax=0, BOOL longest_match=0, INT max_mem=8388608, BOOL literal=0, BOOL never_nl=0, BOOL dot_nl=0, BOOL never_capture=0, BOOL case_sensitive=1, BOOL perl_classes=0, BOOL word_boundary=0, BOOL one_line=0)
BOOL match(
PRIV_TASK,
STRING pattern, STRING subject, BOOL utf8=0, BOOL posix_syntax=0, BOOL longest_match=0, INT max_mem=8388608, BOOL literal=0, BOOL never_nl=0, BOOL dot_nl=0, BOOL never_capture=0, BOOL case_sensitive=1, BOOL perl_classes=0, BOOL word_boundary=0, BOOL one_line=0)
Like the ``regex.match()`` method, return ``true`` if ``pattern``
matches ``subject``, where ``pattern`` is compiled with the given
...
...
@@ -605,7 +605,7 @@ backref
::
STRING backref(INT ref, STRING fallback="**BACKREF FUNCTION FAILED**")
STRING backref(
PRIV_TASK,
INT ref, STRING fallback="**BACKREF FUNCTION FAILED**")
Returns the `nth` captured subexpression from the most recent
successful call of the ``match()`` function in the current client or
...
...
@@ -644,7 +644,7 @@ namedref
::
STRING namedref(STRING name, STRING fallback="**NAMEDREF FUNCTION FAILED**")
STRING namedref(
PRIV_TASK,
STRING name, STRING fallback="**NAMEDREF FUNCTION FAILED**")
Returns the captured subexpression designated by ``name`` from the
most recent successful call to the ``match()`` function in the current
...
...
@@ -1344,7 +1344,7 @@ The VMOD requires Varnish version 5.2. See the source repository for
versions of the VMOD that are compatible with other Varnish versions.
It requires the RE2 library, and has been tested against RE2 versions
since 2015-06
-01.
2015-06-01 through 2017-11
-01.
INSTALLATION
============
...
...
src/tests/set_retrieve.vtc
View file @
3be02287
...
...
@@ -213,7 +213,7 @@ client c1 {
logexpect l1 -wait
varnish v1 -vcl {
import
${vmod_re2}
;
import
re2 from "${vmod_topbuild}/src/.libs/libvmod_re2.so"
;
backend be { .host = "${bad_ip}"; }
sub vcl_init {
...
...
src/tests/set_sub.vtc
View file @
3be02287
...
...
@@ -3,7 +3,7 @@
varnishtest "set.sub() method"
varnish v1 -vcl {
import
${vmod_re2}
;
import
re2 from "${vmod_topbuild}/src/.libs/libvmod_re2.so"
;
backend be { .host = "${bad_ip}"; }
sub vcl_init {
...
...
src/vmod_re2.vcc
View file @
3be02287
...
...
@@ -1187,7 +1187,7 @@ The VMOD requires Varnish version 5.2. See the source repository for
versions of the VMOD that are compatible with other Varnish versions.
It requires the RE2 library, and has been tested against RE2 versions
since 2015-06
-01.
2015-06-01 through 2017-11
-01.
INSTALLATION
============
...
...
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