r3747 - branches/2.0/varnish-cache/man
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Wed Feb 11 09:21:49 CET 2009
Author: tfheen
Date: 2009-02-11 09:21:49 +0100 (Wed, 11 Feb 2009)
New Revision: 3747
Modified:
branches/2.0/varnish-cache/man/vcl.7so
Log:
Merge r3693: Fix backslashes.
Modified: branches/2.0/varnish-cache/man/vcl.7so
===================================================================
--- branches/2.0/varnish-cache/man/vcl.7so 2009-02-11 08:17:19 UTC (rev 3746)
+++ branches/2.0/varnish-cache/man/vcl.7so 2009-02-11 08:21:49 UTC (rev 3747)
@@ -56,7 +56,7 @@
(!, && and ||) operators, VCL supports regular expression and ACL
matching using the ~ operator.
.Pp
-Unlike C and Perl, the backslash (\\) character has no special meaning
+Unlike C and Perl, the backslash (\e) character has no special meaning
in strings in VCL, which use the (%xx) escape mechanism just like URLs,
so it can be freely used in regular expressions without doubling.
.Pp
@@ -174,7 +174,7 @@
.host = "www.example.com";
.port = "http";
.probe = {
- # NB: \\r\\n automatically inserted after each string!
+ # NB: \er\en automatically inserted after each string!
.request =
"GET / HTTP/1.1"
"Host: www.foo.bar"
@@ -236,11 +236,11 @@
.Fa sub .
Within
.Fa sub ,
-.Va \\0
+.Va \e0
(which can also be spelled
.Va & )
is replaced with the entire matched string, and
-.Va \\n
+.Va \en
is replaced with the contents of subgroup
.Ar n
in the matched string.
More information about the varnish-commit
mailing list