29 May
2007
29 May
'07
7:37 a.m.
Arran Cudbard-Bell wrote:
Though regular expressions no longer work :(
# Stripped username if("%{User-Name}" =~ "([-[:alnum:]._^@]+)@([-[:alnum:]._]*)"){
That *never* worked in the config files. Use: if ("%{User-Name}" =~ /([-[:alnum:]._^@]+)@([-[:alnum:]._]*)/) { i.e. /regex/ just like other languages. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog