[3.0] e43966d escape \0
Tollef Fog Heen
tfheen at varnish-cache.org
Thu May 24 14:51:11 CEST 2012
commit e43966d7c8516b6d5b49d4084cc38b4fbcdc56a0
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 01d783f..212cd2b 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -420,7 +420,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