[Varnish] #666: pmatch: regular expression subexpression references

Varnish varnish-bugs at varnish-cache.org
Mon Nov 15 14:41:39 CET 2010


#666: pmatch: regular expression subexpression references
-------------------------+--------------------------------------------------
 Reporter:  slink        |       Owner:  phk                                         
     Type:  enhancement  |      Status:  new                                         
 Priority:  normal       |   Milestone:                                              
Component:  varnishd     |     Version:  trunk                                       
 Severity:  normal       |    Keywords:  pmatch, match, subexpression, back reference
-------------------------+--------------------------------------------------

Comment(by slink):

 Results of today's IRC bugwash:

  * phk will want to close this bug and put it onto the shopping list as a
 feature request
  * I've been asked to re-implement this feature as a VMOD
  ** this will limit the syntax for match backreferences to something like
 re.backref(n)
  ** this will also imply that another match function will exist
  ** I am not sure how to best do RE compilation, but we'll see
  * phk has clarified that data referred to by a const char * can not even
 be assumed to continue to exist within the same vcl procedure, so we need
 to copy...

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/666#comment:6>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list