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: https://svn.testnett.uninett.no/radsecproxy/trunk@518 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:
.RS
rewriteAttribute User-Name:/^(.*)@local$/$1@example.com/
rewriteAttribute User-Name:/^(.*)@local$/\\1@example.com/
.RE
.SH "SERVER BLOCK"
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:
.RS
modifyAttribute 1:/^(.*)@local$/$1@example.com/
modifyAttribute 1:/^(.*)@local$/\\1@example.com/
.RE
.SH "SEE ALSO"
\fBradsecproxy\fR(1),
......
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