ArrayIndexOutOfBoundsException when invoking matcher.contains(str, pattern)

Vilmantas Baranauskas <[email protected]> Tue, 27 Oct 2009 16:06:32 +0100
Newsgroups gmane.comp.jakarta.oro.user
Message-ID <[email protected]>
Hello,

I've got following exception when invoking matcher.contains(str, pattern) m=
ethod.

java.lang.ArrayIndexOutOfBoundsException: 14
	at org.apache.oro.text.regex.OpCode._getNextOffset(Unknown Source)
	at org.apache.oro.text.regex.OpCode._getNext(Unknown Source)
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source)
	at org.apache.oro.text.regex.Perl5Matcher.__tryExpression(Unknown Source)
	at org.apache.oro.text.regex.Perl5Matcher.__interpret(Unknown Source)
	at org.apache.oro.text.regex.Perl5Matcher.contains(Unknown Source)
	at org.apache.oro.text.regex.Perl5Matcher.contains(Unknown Source)


Matching pattern is either "........" or "^........$" (i don't know which).=
 Unfortunately I haven't got string value.

Best Regards,
Vilmantas