How to escape double quotes in Varnish regex

Posted by on Mar 1, 2013 in Environment | No Comments

This is going to be the shortest post ever both might save hours to people who don’t know it yet.

The good old fashion \” won’t work. Suggestion from the manual to use %22 doesn’t work either. Solution to this problem is regex ASCII escape “\x22″.

Simple as that but took me some time to figure it out.

Leave a Reply