From: Alan T. DeKok Date: Thu, 17 Jun 2021 11:06:25 +0000 (-0400) Subject: remove docs for v4 feature X-Git-Tag: release_3_0_24~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=779ce62f017fbe974d8cbaf0625a0084fff6b60b;p=thirdparty%2Ffreeradius-server.git remove docs for v4 feature --- diff --git a/doc/antora/modules/unlang/pages/xlat/builtin.adoc b/doc/antora/modules/unlang/pages/xlat/builtin.adoc index 7b079f82e92..d1d5c3eb652 100644 --- a/doc/antora/modules/unlang/pages/xlat/builtin.adoc +++ b/doc/antora/modules/unlang/pages/xlat/builtin.adoc @@ -901,29 +901,5 @@ if (&control.Tmp-String-0 =~ /^(?(.*))@(?(.*))$/) { The user@example.com { login=user, domain=example.com } ``` -### %{sub://[flags] } - -Substitute text just as easily as it can match it, even using regex patterns. - -.Return: _string_. - -.Example - -[source,unlang] ----- -update control { - &Tmp-String-0 := "Caipirinha is a light and refreshing drink!" -} -update reply { - &Reply-Message := "%{sub:/ / , %{control.Tmp-String-0}}" -} ----- - -.Output - -``` -Caipirinha,is,a,light,and,refreshing,drink! -``` - // Copyright (C) 2020 Network RADIUS SAS. Licenced under CC-by-NC 4.0. // Development of this documentation was sponsored by Network RADIUS SAS.