Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Fix escaping in regsub docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tollef Fog Heen committed May 24, 2012
1 parent e43966d commit cbd31d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/sphinx/reference/vcl.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -420,9 +420,9 @@ hash_data(str)


regsub(str, regex, sub) regsub(str, regex, sub)
Returns a copy of str with the first occurrence of the regular 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, also be spelled \\&) is replaced with the entire matched string,
and \n is replaced with the contents of subgroup n in the and \\n is replaced with the contents of subgroup n in the
matched string. matched string.


regsuball(str, regex, sub) regsuball(str, regex, sub)
Expand Down

0 comments on commit cbd31d0

Please sign in to comment.