By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,508 Members | 1,823 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,508 IT Pros & Developers. It's quick & easy.

Bug: Expression not properly evaluated in RegEx.IsMatch

P: n/a
Hi all

Was wondering of anyone can help me with why the following expression
works as expected in XMLSpy, but does not in

[A-Za-z]{1,2}[1-9][0-9]?[A-Za-z]? [0-9][A-Za-z]{2}|GIR 0AA$

IN using Regex.IsMatch, all works OK appart from the fact that it
will allow more than 2 characters in the last section. In XMLSpy the
expression is evaluated correctly and shows an error when validating an
XML element. EG.: AB1 1ABB does not generate an error
XMLSpy: AB1 1ABB generates 'value does not match facet pattern'.

Can this be confirmed as a bug in VB?

Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.