• Poul-Henning Kamp's avatar
    NB: FLAGDAY! · 957c035e
    Poul-Henning Kamp authored
    Make an executive decision, and change the regsub() replacement specifiers to
    get something which is consistent and nontroubling for URL and query strings.
    
    Since $ and & both are heavily used in query strings, we (DES & I)
    have chosen to use \0 ... \9 for replacement indicators, with \0
    being the "all matched text" replacement and \1...\9 replacing
    with tne N'th paranthesized subexpressions.
    
       regsub("_barf_", "(b)(a)(r)(f)", "\0\4\3\2\\p") -> "_barffra\p_"
    
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2741 d4fa192b-c00b-0410-8231-f00ffab90ce4
    957c035e
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
man Loading commit data...
redhat Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
varnishapi.pc.in Loading commit data...