[Varnish] #900: The \" escape does not work.
    Varnish 
    varnish-bugs at varnish-cache.org
       
    Mon May 16 15:03:55 CEST 2011
    
    
  
#900: The \" escape does not work.
----------------------+-----------------------------------------------------
 Reporter:  kristian  |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
Comment(by phk):
 The VCL case looks right to me.  \d is a regexp magic, so only the lines
 with an even number of \\ are valid regexps.  The rest should give a
 syntax error in VSL.
 Similarly you end up with 8 \\ in the CLI case because you need to get a
 double \\ to the regexp.
 A better and less confusiing testcase would be the regexp \.bar.
 I seem to reproduce that needs \\\\.bar from CLI, will investigate.
-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/900#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
    
    
More information about the varnish-bugs
mailing list