Hi Hugo,
I think that your regexp is badly formed, could you please test the
following and post the results:
/^([a-zA-Z0-9\.-]+@?)*[a-zA-Z0-9\.-]*\.([a-zA-Z]){2,4}$/
This allows strings of type:
[email protected]
ua.pt
ua.ppt
ua.ptpt
[email protected]
This not allows:
@ua.pt
""[email protected]
....
Regards,
António Mendes.
Em 31-07-2012 10:03, Hugo Veiga escreveu:
Hi,
I tried addind the double quotes to surround the Realm but it still doesn't
beave as expected.
The realmua.pt <http://ua.pt> should be a match but with the ,4 it doesn't
work !
Do you have more advice? They are very welcome.
Thanks,
Hugo Veiga
On 07/30/2012 05:44 PM, Hugo Veiga wrote:
>/ I'm having trouble in a regex in realm Handler:
/>/
/>/ <Handler User-Name=/^[a-zA-Z0-9][a-zA-Z0-9._-]/,
/>/ Realm=/^[a-zA-Z0-9\.-]*?\.([a-zA-Z]){2,4}$/,
/>/ Client-Identifier=/^(?!4ProxyServer$)/>
/
Hello Hugo,
I tried the handler and got this:
ERR: Bad attribute=value pair: 4}$/,
Client-Identifier=/^(?!4ProxyServer$)/
Try this instead:
<Handler User-Name=/^[a-zA-Z0-9][a-zA-Z0-9._-]/,
Realm="/^[a-zA-Z0-9\.-]*?\.([a-zA-Z]){2,4}$/",
Client-Identifier=/^(?!4ProxyServer$)/>
I added the double quotes to surround the Realm value since the value
contains a comma.
Thanks,
Heikki
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator