G
George Durzi
If I have a regexvalidator in a webform with a validation expression of
^[+]?[0-9]\d* and I put the text 2d in a text box being validated by this
validator, the validator fires.
This regex is a simple one that only allows the user to enter integer
values.
However, if I do this on the server side like this
Regex rx = new Regex(@"^[+]?[0-9]\d*");
Match mt = rx.Match("2d");
I get success!!!! why?? is there an option I should be setting?
^[+]?[0-9]\d* and I put the text 2d in a text box being validated by this
validator, the validator fires.
This regex is a simple one that only allows the user to enter integer
values.
However, if I do this on the server side like this
Regex rx = new Regex(@"^[+]?[0-9]\d*");
Match mt = rx.Match("2d");
I get success!!!! why?? is there an option I should be setting?