latest CVS doesnt like nas_table no more....
Alan Dekok
aland at deployingradius.com
Tue May 29 13:37:53 CEST 2007
Arran Cudbard-Bell wrote:
> Though regular expressions no longer work :(
>
> # Stripped username
> if("%{User-Name}" =~ "([-[:alnum:]._^@]+)@([-[:alnum:]._]*)"){
That *never* worked in the config files. Use:
if ("%{User-Name}" =~ /([-[:alnum:]._^@]+)@([-[:alnum:]._]*)/) {
i.e. /regex/ just like other languages.
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Devel
mailing list