Hi Anders, This bug is solved by my last patch. Im not sure if there are nightly builds of regexp? Not on website. I will find out how to get this done. I would like the have the recent additions of features and bug fixes in a new release. On this note what is the status on my write access to cvs. Before a 1.3 release and full test suite needs to be in place. There is one now but it needs expanding. Its currently more of a minimal set rather than a full test suite. I would also like to rewrite the compiler, matcher internals in a more OO manner. While preserving the interface of course. The actual work of the compiler and matcher would be the same I just wish to map the current char array of program onto an actual object tree. On 21 Feb 2001, at 23:06, Anders Nielsen wrote: > I'm sorry if I should be posting this somewhere else. this is the write place. > > 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 --- BEGIN GEEK CODE BLOCK --- Version 3.12 GCS d+(-) s:- a-- C++(+++)$ UL++++(H)(S)$ P+++$ L+++$>++++ E--- W++ N++ o++ K? !w() O? !M V? PS+ PE+++ Y+ t+ 5++ X++ R(+) !tv b++(++++) D++ G>++ e++> h--()(*) r+ y+() --- END GEEK CODE BLOCK ---