Commit ff85d2a1 authored by linus's avatar linus Committed by linus

Fix two regex examples using back references. Spotted by Kolbjørn Barmen.

git-svn-id: e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent d3815dfd
......@@ -304,7 +304,7 @@ the request sent by the proxy. The User-Name attribute is written back to the
original value if a matching response is later sent back to the client. The
value must be of the form User-Name:/regexpmatch/replacement/. Example usage:
rewriteAttribute User-Name:/^(.*)@local$/$
rewriteAttribute User-Name:/^(.*)@local$/\\
The server block is used to configure a server. That is, tell the proxy about a
......@@ -544,7 +544,7 @@ attributes. The value must be of the form
a numerical attribute type, regexpmatch is regexp matching rule and
replacement specifies how to replace the matching regexp. Example usage:
modifyAttribute 1:/^(.*)@local$/$
modifyAttribute 1:/^(.*)@local$/\\
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