I'm sorry if I should be posting this somewhere else.
My problem is the following, when I run this program I get
java.lang.ArrayIndexOutOfBoundsException
at org.apache.regexp.RECompiler.setNextOfEnd(RECompiler.java:207)
at org.apache.regexp.RECompiler.expr(RECompiler.java:1249)
at org.apache.regexp.RECompiler.compile(RECompiler.java:1281)
at org.apache.regexp.RE.<init>(RE.java:495)
at org.apache.regexp.RE.<init>(RE.java:480)
at test.test.main(test.java:22)
-----------------------------------------------------------
import org.apache.regexp.*;
public class test {
public test() {
}
public static void main(String[] args)
{
try {
new RE("a.*?(a|b)");
}
catch (RESyntaxException e) {
}
}
}
------------------------------------------------------------
I am using release build 1.2
Have you seen this bug before?
regards,
Anders Nielsen
PGP - Public key
http://www.nemecon.dk/pgp/AndersNielsen.asc