harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov" <nikolay.kuznet...@gmail.com>
Subject Re: [classlib][regex] Is this a issue of java.util.regex.Matcher.region(int, int);
Date Fri, 28 Jul 2006 09:04:10 GMT
Hello Spark Shen,

> Thank you very much, do I need to raise a new JIRA for this issue? Using
> the test case I give,

No, for this problem we already have couple of issues in JIRA:

I've updated first one with the fix, and asked to close second one as duplicate.
You may want to try suggested  fix with your example and/or suggest
you testcase as a patch to unit tests(You'll find Richard's test over

Also, thank you very much for your help with debugging this issue, but
the guess was not completely correct. SecuenceSet is a part of the
pattern compiled(Pattern.compile("c")), and it's not affected by the
regions, at least not it's content,
which should always remain "c".

region() method affects underlying match result, which SequenceSet
should communicate doing find, but it didn't, that was a problem.

Thank you.

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message