Skip to content
Browse files

Fix escaping in regsub docs

  • Loading branch information...
1 parent e43966d commit cbd31d0e3987608bdb842fc97664ef13e755e4ea Tollef Fog Heen committed Apr 16, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 doc/sphinx/reference/vcl.rst
View
6 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)

0 comments on commit cbd31d0

Please sign in to comment.
Something went wrong with that request. Please try again.