[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-devel
Subject:    Re: latest CVS doesnt like nas_table no more....
From:       Arran Cudbard-Bell <A.Cudbard-Bell () sussex ! ac ! uk>
Date:       2007-05-29 11:43:50
Message-ID: 465C11F6.1040808 () sussex ! ac ! uk
[Download RAW message or body]

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@sussex.ac.uk)
Authentication, Authorisation and Accounting Officer
Infrastructure Services | ENG1 E1-1-08
University Of Sussex, Brighton
EXT:01273 873900 | INT: 3900
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic