BTW,

a couple of weeks ago, we were talking about syntax for the match back
references on varnish-hacking.

Actually something like the $n back-reference like in ...

                                          vv edited
>> if (req.http.User-Agent ~ "(ua1|ua2|ua3)" {
>>         error 403 "Forbidden UA $1";
>> }

... should be quite easy to do in VCC IIUC - we'd only need to parse literal
strings and take them apart into "literal", VRT_match(n), "literal".

phk?

Nils

_______________________________________________
varnish-dev mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-dev

Reply via email to