regular expression problem on 2.1.3

Alexandre Chapellon alexandre.chapellon at mana.pf
Sat Jan 24 01:29:41 CET 2009


when i use regex, i use it with unlang so it might differ from a users
file but here is how i would write it for unlang:

DEFAULT NAS-IP-Address =~ /192.168.1.1|10.0.1.1/





Le 23.01.2009 14:18, Tim Lightfoot a écrit :
> Thanks for the suggestion - this also gives the same result:
>
> [files] Invalid regular expression : empty (sub)expression 
>
> Tim
>
> -----Original Message-----
> From:
> freeradius-users-bounces+tim.lightfoot=sota.co.uk at lists.freeradius.org
> [mailto:freeradius-users-bounces+tim.lightfoot=sota.co.uk at lists.freeradi
> us.org] On Behalf Of A.L.M.Buxey at lboro.ac.uk
> Sent: 24 January 2009 00:07
> To: FreeRadius users mailing list
> Subject: Re: regular expression problem on 2.1.3
>
> Hi,
>   
>> Hi,
>>
>> I have updated my Freeradius from 2.0.5 to 2.1.3 and am having a 
>> problem with the regular expressions I am using in the users file.
>>
>> If I provide a simple example users file I am testing against:
>>
>> DEFAULT	NAS-IP-Address =~ "192.168.1.1|10.0.1.1"
>>     
>
> "(192.168.1.1|10.0.1.1)" ?
>
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090123/f504752c/attachment.html>


More information about the Freeradius-Users mailing list