Hi,

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$)/>

The problem is in the Realm part:

If I put the regex like mentioned and test the user: [email protected] the string
will never math!.

But I've tried out this regex in various regex testers and it should be
working.

If I take out maximum number of chars of 4 and just
put: Realm=/^[a-zA-Z0-9\.-]*?\.([a-zA-Z]){2}$/ it will match as expected
since pt only have 2 chars.


Is this some kind of bug or I'm I doing something really wrong.


Best regards,
Hugo Veiga
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to