]> err.no Git - varnish/commit
Implement regexp matching of strings in VCL.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 22 Jul 2006 12:00:18 +0000 (12:00 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 22 Jul 2006 12:00:18 +0000 (12:00 +0000)
commitddb9b77803f4121bc6481e564783838acd63292b
treed00be4f84621066a0ff6f3eadfe945205110cc7c
parent628972cf5954f4e74844442b964790d472430f4d
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.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@559 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/Makefile.am
varnish-cache/bin/varnishd/cache_vrt_re.c [new file with mode: 0644]
varnish-cache/include/vrt.h
varnish-cache/lib/libvcl/vcc_compile.c
varnish-cache/lib/libvcl/vcc_compile.h
varnish-cache/lib/libvcl/vcc_fixed_token.c