[experimental-ims] 9cd5b47 escape \0
Per Buer
perbu at varnish-software.com
Thu Dec 18 10:27:43 CET 2014
commit 9cd5b47122ebc1219ee3f86eb88a2e027e7a5f68
Author: Per Buer <perbu at varnish-software.com>
Date: Wed Apr 4 10:17:01 2012 +0200
escape \0
diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index 9e71fbd..5a5ca6e 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -408,7 +408,7 @@ hash_data(str)
regsub(str, regex, sub)
Returns a copy of str with the first occurrence of the regular
- expression regex replaced with sub. Within sub, \0 (which can
+ expression regex replaced with sub. Within sub, \\0 (which can
also be spelled &) is replaced with the entire matched string,
and \n is replaced with the contents of subgroup n in the
matched string.
More information about the varnish-commit
mailing list