VerbalExpressions / HaxeVerbalExpressions

Verbal Expressions for Haxe
42 stars 2 forks source link

Java errors #1

Open fullofcaffeine opened 8 years ago

fullofcaffeine commented 8 years ago

@markknol Might worth creating an issue here (maybe use this one) to keep track of why the Java target is failing to compile this lib and ping @waneck about it.

markknol commented 8 years ago

Good point.

Hey @waneck, I have errors when executing the Java regexes. If you check out this travis job most errors are like this:

Called from java.util.regex.Pattern.clazz (Pattern.java line 2493)
Called from java.util.regex.Pattern.sequence (Pattern.java line 2030)
Called from java.util.regex.Pattern.expr (Pattern.java line 1964)
Called from java.util.regex.Pattern.compile (Pattern.java line 1665)
Called from java.util.regex.Pattern.<init> (Pattern.java line 1337)
Called from java.util.regex.Pattern.compile (Pattern.java line 1047)
Called from haxe.root.EReg.__hx_ctor__EReg
Called from haxe.root.EReg.<init>
Called from expressions.VerbalExpression.sanitize
Called from expressions.VerbalExpression.then
Called from expressions.VerbalExpression.find
Called from haxe.root.Test.testReplace
Called from haxe.root.Test.__hx_invokeField
Called from haxe.lang.Runtime.callField
Called from haxe.lang.Closure.__hx_invokeDynamic
Called from haxe.root.Reflect.callMethod
Called from haxe.unit.TestRunner.runCase
Called from haxe.unit.TestRunner.run
Called from haxe.root.Test.main
* Test::testUrl()
ERR: exception thrown : java.util.regex.PatternSyntaxException: Unclosed character class near index 22
[-\\.,_*+?^$[\](){}!=|]

Any idea what this could be?