Varnish Module for Regular Expression Matching with Subexpression Capture

  • Nils Goroll's avatar
    Revert "Use the VCL_REGEX type" · 685aa25e
    Nils Goroll authored
    The VCL_REGEX type requires that the pattern consist of constant strings only.
    
    In contrast, with a STRING argument and compilation in this vmod, we can support
    patterns to be constructed dynamically in vcl_init {}, which is a relevant
    advantage.
    
    I did consider to support both a STRING and a VCL_REGEX argument (both being
    optional, requiring at least one to be set) but found no compelling reason
    for using the VCL_REGEX type, because the pattern is checked anyway and it
    does not make a relevant difference if that check happens at the VCC or
    the vcl_init stage.
    
    This reverts commit 0ee2f4ae.
    685aa25e
Name
Last commit
Last update
m4 Loading commit data...
pkg/rpm Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
INSTALL.rst Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...