r559 - in trunk/varnish-cache: bin/varnishd include lib/libvcl

Dag-Erling Smørgrav des at linpro.no
Sat Jul 22 23:22:34 CEST 2006


phk at projects.linpro.no writes:
> Log:
> Implement regexp matching of strings in VCL.
>
> For now we default to REG_EXTENDED, but it might make sense
> to let the user control this flag and the case sensitivity.
>
> Another concern is the stringification of regexps, it may lead
> to backslash madness.  Maybe we should define '...' string types
> also and do no backslash substitution in those at all.

How about using the syntax used in ed / sed / ex / vi / perl etc,
i.e. /regex/?

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-commit mailing list