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@lists.freeradius.org [mailto:freeradius-users-bounces+tim.lightfoot=sota.co.uk@lists.freeradi us.org] On Behalf Of A.L.M.Buxey@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