[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-commit
Subject: [3.0] e43966d escape \0
From: Tollef Fog Heen <tfheen () varnish-cache ! org>
Date: 2012-05-24 12:51:11
Message-ID: E1SXXVX-0004lQ-D7 () project ! varnish-software ! com
[Download RAW message or body]
commit e43966d7c8516b6d5b49d4084cc38b4fbcdc56a0
Author: Per Buer <perbu@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.
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic