Permalink
Browse files

escape \0

  • Loading branch information...
1 parent c9366e5 commit e43966d7c8516b6d5b49d4084cc38b4fbcdc56a0 @perbu perbu committed with Tollef Fog Heen Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/sphinx/reference/vcl.rst
View
2 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.

0 comments on commit e43966d

Please sign in to comment.