[master] ecb767a83 doc: Draw the VCL_REGEX line

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Fri Jan 15 16:17:07 UTC 2021


commit ecb767a83a654dbf797ecf24e094de5d26e19d4c
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Fri Jan 15 16:24:51 2021 +0100

    doc: Draw the VCL_REGEX line
    
    Requested by phk.

diff --git a/doc/sphinx/reference/vmod.rst b/doc/sphinx/reference/vmod.rst
index 08a791fd8..48e99a28a 100644
--- a/doc/sphinx/reference/vmod.rst
+++ b/doc/sphinx/reference/vmod.rst
@@ -385,6 +385,9 @@ REGEX
 	C-type: ``const struct vre *``
 
 	This is an opaque type for regular expressions with a VCL scope.
+	The REGEX type is only meant for regular expression literals
+	managed by the VCL compiler. For dynamic regular expressions or
+	complex usage see the API from the ``include/vre.h`` file.
 
 STRING
 	C-type: ``const char *``


More information about the varnish-commit mailing list