Hi,

I want to do something like:

RE re = new RE("[^1-5[:alpha:]]");

but I get:
org.apache.regexp.RESyntaxException: Syntax error: Mismatched class
    at org.apache.regexp.RECompiler.syntaxError(RECompiler.java:253)
    at org.apache.regexp.RECompiler.terminal(RECompiler.java:875)
    at org.apache.regexp.RECompiler.closure(RECompiler.java:942)
    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 org.apache.regexp.RE.<init>(RE.java:490)
    at org.apache.regexp.RE.<init>(RE.java:475)

Any idea why this is wrong and how I can achieve this? Thanks.

Marc.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to