[experimental-ims] 3a82559 Fix escaping in regsub docs
    Tollef Fog Heen 
    tfheen at varnish-software.com
       
    Thu Dec 18 10:27:43 CET 2014
    
    
  
commit 3a82559d539246d3d3fedee8aa76b6e93a0b9b03
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Mon Apr 16 14:11:30 2012 +0200
    Fix escaping in regsub docs
diff --git a/doc/sphinx/reference/vcl.rst b/doc/sphinx/reference/vcl.rst
index b8f47c3..ed970e2 100644
--- a/doc/sphinx/reference/vcl.rst
+++ b/doc/sphinx/reference/vcl.rst
@@ -420,9 +420,9 @@ 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 
-  also be spelled &) is replaced with the entire matched string, 
-  and \n is replaced with the contents of subgroup n in the 
+  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.
 
 regsuball(str, regex, sub)
    
    
More information about the varnish-commit
mailing list