Re: regex not evaluated?

2009-08-07 Thread Alan Buxey
Hi, The request qoes through all lines but the Alc-Subsc-Prof-Str and Alc-Subsc-SLA-Str are empty. Obviously, the User-Name matches the regexpr, therefore, those two string should have returned values of %{1} and %{2}. obviously? that would assume that the filter engine stores the result of

Re: regex not evaluated?

2009-08-07 Thread Alan DeKok
Marlon Duksa wrote: Hi - does anyone know why this does not work: basic-TPUser-Password == csetestp User-Name =~ ^([aA-zZ]+)-([aA-zZ]+)$, $ man users or $ man 5 users The '=~' operator is not allowed to be used there. If you want that functionality, use unlang to

regex not evaluated?

2009-08-06 Thread Marlon Duksa
Hi - does anyone know why this does not work: basic-TPUser-Password == csetestp User-Name =~ ^([aA-zZ]+)-([aA-zZ]+)$, Alc-Subsc-ID-Str := %{NAS-Port-Id}, Alc-Subsc-Prof-Str := %{1}, Alc-SLA-Prof-Str := %{2}, Alc-MSAP-Serv-Id := 100,