Hello,
On 05/28/06 19:42, Franz Edler wrote:
Hello experts,
can anyone help me to find a syntax error at the following lines in my
cfg-file:
avp_write("$hdr[Proxy-Authorization]","i:100");
avp_subst("i:100/i:101","/(?<=username=")\w+(?=")//");
you have too many double quotes " - they are used to delimit the
parameters. You can use sing quotes instead '.
Try:
avp_subst('i:100/i:101','/(?<=username=")\w+(?=")//');
Cheers,
Daniel
avp_print();
The middle line (330) with the "avp_subst" function causes the following
parse errors:
0(6799) parse error (330,19-20): syntax error
0(6799) parse error (330,19-20): bad command: missing ';'?
What might be wrong?
Regards
Franz
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users