You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-dev@jakarta.apache.org by Ian Beaumont <IB...@categoric.com> on 2001/04/20 18:04:19 UTC

RegExp and AIX

Has anyone run under AIX.
Doing the following
import org.apache.regexp.*;
public class RETest {

    public RETest() {
    }

    public static void main (String args[]) 
    {
            try
            {
                RECompiler compiler = new RECompiler();
                REProgram compiledParameterFinderRE =
compiler.compile("(%)(\\d)");
                System.out.println("RE Compiled");
            }
            catch (RESyntaxException e)
            {
                e.printStackTrace();
            }        
            System.out.println("Finished");
    }

with version 1.2, gives me:
Exception in thread "main" java.lang.Error: Internal error!
        at org.apache.regexp.RECompiler.atom(RECompiler.java(Compiled Code))
        at org.apache.regexp.RECompiler.atom(RECompiler.java(Compiled Code))
        at org.apache.regexp.RECompiler.terminal(RECompiler.java(Compiled
Code))
        at org.apache.regexp.RECompiler.closure(RECompiler.java(Compiled
Code))
        at org.apache.regexp.RECompiler.branch(RECompiler.java(Compiled
Code))
        at org.apache.regexp.RECompiler.expr(RECompiler.java(Compiled Code))
        at org.apache.regexp.RECompiler.terminal(RECompiler.java(Compiled
Code))
        at org.apache.regexp.RECompiler.closure(RECompiler.java(Compiled
Code))
        at org.apache.regexp.RECompiler.branch(RECompiler.java:1151)
        at org.apache.regexp.RECompiler.expr(RECompiler.java:1203)
        at org.apache.regexp.RECompiler.compile(RECompiler.java:1281)
        at RETest.main(RETest.java:28)

I'm using the IBM JVM v1.3

Things work fine under Solaris, Linux and Windows.

Anyone had any AIX experiences?

Thanks

Ian Beaumont
Categoric Software

Alert enabling the multichannel enterprise

+44 (0)1372 368800 tel
+44 (0)1372 368801 fax
+44 (0)1372 368854 direct
www.categoric.com

This message is intended only for the use of the person(s) to whom it is
addressed. It may contain information which is privileged and confidential.
Accordingly any unauthorised use is strictly prohibited. If you are not the
Intended Recipient, please contact the sender as soon as possible.