Unable to use regexp in virtual server
aland at deployingradius.com
Thu Mar 5 15:50:21 CET 2015
On Mar 5, 2015, at 7:52 AM, RESTOUX, Loïc <loic.restoux at capgemini.com> wrote:
> The startup fails with the following error:
> <file>: Invalid regular expression:
> <file>: ^circuit-id-tag=(.+)
> <file>: ^
I don’t see that here.
> Apparently, the failure comes from the computation of the size of the pattern. regex_compile() tries to find a NULL value in the 23 characters of the regexp, when obviously the length of the pattern is only 20.
Knowing more would help. Unfortunately getting more information means going into the deep recesses of the code, to see exactly what it’s doing, and why.
Which OS is this for? What regular expression library are you using?
> Am I missing something in the syntax of the virtual server configuration ?
Nope. It should work.
More information about the Freeradius-Users