M
Matt Morris
Hello:
I have a RegularExpressionValidator control attached to a TextBox. I have
the ValidationExpression property set to a very simple validation expression
(\w+). The validation always fails when entering Greek characters. When I
test this expression in a standalone test harness, it accepts the Greek
characters just fine. It is my understanding that the RegEx class in the
Framework is by default culture sensitive and I assume the
RegularExpressionValidator control uses this class. Is this a bug in the
RegularExpressionValidator control? If not, how can I configure the control
to accept foreign characters?
I have a RegularExpressionValidator control attached to a TextBox. I have
the ValidationExpression property set to a very simple validation expression
(\w+). The validation always fails when entering Greek characters. When I
test this expression in a standalone test harness, it accepts the Greek
characters just fine. It is my understanding that the RegEx class in the
Framework is by default culture sensitive and I assume the
RegularExpressionValidator control uses this class. Is this a bug in the
RegularExpressionValidator control? If not, how can I configure the control
to accept foreign characters?