You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Richard Schofield <ri...@uk.ibm.com> on 2002/05/27 11:43:29 UTC

Problems with Regular Expressions

I'm getting unexpected results with the following simple regular expression

Pattern : A?
String : ABC

Result : Matches =True, Start = 3, End = 3

I would have expected

Matches = True, Start = 0, End = 1




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org