Skip to content

Commit

Permalink
Fix two regex examples using back references. Spotted by Kolbjørn Bar…
Browse files Browse the repository at this point in the history
…men.

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@518 e88ac4ed-0b26-0410-9574-a7f39faa03bf
  • Loading branch information
linus authored and linus committed Mar 16, 2010
1 parent d3815df commit ff85d2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radsecproxy.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit ff85d2a

Please sign in to comment.