latest CVS doesnt like nas_table no more....

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Tue May 29 13:43:50 CEST 2007


Alan Dekok wrote:
> 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
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

ohhh,

sorry i'm not used to everything following convention :)

-- 
Arran Cudbard-Bell (A.Cudbard-Bell at sussex.ac.uk)
Authentication, Authorisation and Accounting Officer
Infrastructure Services | ENG1 E1-1-08
University Of Sussex, Brighton
EXT:01273 873900 | INT: 3900



More information about the Freeradius-Devel mailing list