[2.1] 410228c Fix ancient bug in the 2.1 doctree Fixes #1302
Per Buer
perbu at varnish-cache.org
Tue May 14 16:18:52 CEST 2013
commit 410228ce5572b87ec4e3f67398e29f3602497031
Author: Per Buer <perbu at varnish-software.com>
Date: Tue May 14 16:18:20 2013 +0200
Fix ancient bug in the 2.1 doctree
Fixes #1302
diff --git a/doc/sphinx/faq/general.rst b/doc/sphinx/faq/general.rst
index 26b86fa..acdb7ff 100644
--- a/doc/sphinx/faq/general.rst
+++ b/doc/sphinx/faq/general.rst
@@ -277,7 +277,7 @@ probably confuse people if we made the default case-insentive.
To make a PCRE regex case insensitive, put ``(?i)`` at the start::
- if (req.http.host ~ "?iexample.com$") {
+ if (req.http.host ~ "(?i)example.com$") {
...
}
More information about the varnish-commit
mailing list