Case Insensitive Regular Expressions
Ricardo Newbery
ric at digitalmarbles.com
Thu Sep 20 05:08:56 CEST 2007
On Sep 19, 2007, at 10:35 AM, Poul-Henning Kamp wrote:
> In message
> <33afbbe70709191024l5c935f7fi11c6f2d9c06b55f1 at mail.gmail.com>, "Cale
> b Anthony" writes:
>> Hello,
>>
>> It doesn't appear that VCL supports case insensitive regular
>> expressions. Is this true?
>
> Yes because I didn't think of that.
Hmm... won't this potentially mess up support for multiple hostnames/
backends? Using the example from the man page:
if (req.http.host ~ "^(www.)?example.com$") {
set req.backend = www;
}
I assumed this would match example.com and Example.com. Is this not
the case?
Ric
More information about the varnish-misc
mailing list