<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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:<br>
<br>
<pre wrap="">DEFAULT NAS-IP-Address =~ /192.168.1.1|10.0.1.1/
</pre>
<br>
<br>
Le 23.01.2009 14:18, Tim Lightfoot a écrit :
<blockquote
cite="mid:99D4BE9CC40E704EADD54DCCCB29C24F023AD62D@sota01.sota.local"
type="cite">
<pre wrap="">Thanks for the suggestion - this also gives the same result:
[files] Invalid regular expression : empty (sub)expression
Tim
-----Original Message-----
From:
<a class="moz-txt-link-abbreviated" href="mailto:freeradius-users-bounces+tim.lightfoot=sota.co.uk@lists.freeradius.org">freeradius-users-bounces+tim.lightfoot=sota.co.uk@lists.freeradius.org</a>
[<a class="moz-txt-link-freetext" href="mailto:freeradius-users-bounces+tim.lightfoot=sota.co.uk@lists.freeradi">mailto:freeradius-users-bounces+tim.lightfoot=sota.co.uk@lists.freeradi</a>
us.org] On Behalf Of <a class="moz-txt-link-abbreviated" href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a>
Sent: 24 January 2009 00:07
To: FreeRadius users mailing list
Subject: Re: regular expression problem on 2.1.3
Hi,
</pre>
<blockquote type="cite">
<pre wrap="">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"
</pre>
</blockquote>
<pre wrap=""><!---->
"(192.168.1.1|10.0.1.1)" ?
alan
-
List info/subscribe/unsubscribe? See
<a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>
</pre>
</blockquote>
</body>
</html>