Commit 3a82559d authored by Tollef Fog Heen's avatar Tollef Fog Heen

Fix escaping in regsub docs

parent 8931bc07
...@@ -420,9 +420,9 @@ hash_data(str) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment