>> That is the assistance I need - writing the correct regular expression.
>
>http://www.regular-expressions.info/
>
>User-Name =~ "^([...@]+)(@isp.com)?$"
>

Double quotes don't work for me (2.1.3). Single work OK:

DEFAULT   User-Name =~ '^([...@]+)(@isp.com)?$'

also, in second statement, it doesn't expand with single quotes, only
double:

                 User-Name := "%{1}"

With single quotes %{1} is treated as an ordinary string. Is that how
things should be?

Ivan Kalik
Kalik Informatika ISP

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to