(RADIATOR) Regexp in check item

Hugh Irvine hugh at open.com.au
Wed Nov 14 01:42:41 CST 2001


Hello Pavel -

On Wednesday 14 November 2001 17:47, Pavel A Crasotin wrote:
> Hi,
>
> I need an advice in the perl regular expressions.
> I'd like to write in the users file something like
>
> johndoe Realm = /anything except MyRealm/
>         Framed-IP-Address=...
>         ...
>
> How can I do this?
>

Well, my first guess would be this (and I haven't tested it .....):

johndoe Realm = /[^MyRealm]/
        Framed-IP-Address=...
        ...

But I would encourage you to get a Perl book to check it and I would also 
urge you to do some experiments to verify whatever you end up using.

regards

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list