Re: [RADIATOR] Problem with regex, or with Radiator parsing Check Items

2013-11-21 Thread Heikki Vatiainen
On 11/21/2013 03:51 PM, Tim Jones wrote: > I was adding a Handler to deal with EAP-SIM requests, and tried to use > the following regex to check the User-Name attribute: > > /^1\d{14,15}(\@.+)*$/ Hello Tim, try this instead: That is, the value must be within double quotes since it contains a

[RADIATOR] Problem with regex, or with Radiator parsing Check Items

2013-11-21 Thread Tim Jones
Hi all, I was adding a Handler to deal with EAP-SIM requests, and tried to use the following regex to check the User-Name attribute: /^1\d{14,15}(\@.+)*$/ But my log file is throwing out "ERR: Bad attribute=value pair: 15}(\@.+)*$/", so it looks like Radiator is hitting the comma and trying to p