Realms Extraction
tnt at kalik.net
tnt at kalik.net
Mon Jan 26 20:45:10 CET 2009
>> 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
More information about the Freeradius-Users
mailing list