title: How to escape a double quote in varnish vcl
body: <p>In vcl_recv I'm trying to send a 403 to requests that contain the following characters in the url: ",',&lt;,>,(, and )</p>
  
  <pre><code>if(req.url ~ "[\'\&lt;\&gt;()].*\.html" ) {
    return (synth(403, "Forbidden"));
  }
  </code></pre>
  
  <p>everything works except the double quote "
  I tried regex like:</p>
  
  <pre><code>"[\"\'\&lt;\&gt;()].*\.html"
  "[\\"\'\&lt;\&gt;()].*\.html"
  "[%22\'\&lt;\&gt;()].*\.html"
  "[x22\'\&lt;\&gt;()].*\.html"
  </code></pre>
  
  <p>All of them do not compile with "varnishd -C -f default.vcl"
  I'm currently on varnish-4.1.1
  Does anyone know how to escape the " correctly?</p>