regular expressions parsing changed in 1.1.2 ?
Hi, I recently built 1.1.2 and it claims about regular expression in huntgroups: /opt/fr/etc/raddb/huntgroups[87]: Parse error (check) for entry UNKNOWN: Illegal regular expression in attribute: Calling-Station-Id: ?, *, +, or { } not preceded by valid regular expression The string contains: Calling-Station-Id =~ "*" Do i need something like that now: Calling-Station-Id =~ "/*/" ??? -- Sincerely Yours, Alexander
Alexander Serkin <als@cell.ru> wrote:
/opt/fr/etc/raddb/huntgroups[87]: Parse error (check) for entry UNKNOWN: Illegal regular expression in attribute: Calling-Station-Id: ?, *, +, or { } not preceded by valid regular expression
The string contains: Calling-Station-Id =~ "*"
That's not a valid regular expression. * is a modifier that matches zero or more previous tokens. You don't have a previous token, so it's an invalid regex. Alan DeKok.
participants (2)
-
Alan DeKok -
Alexander Serkin