[BUG] regex engine
Posted: 24 Sep 2015 08:05
First let me say that the new regex tester was a must and that it's well implemented. Maybe it would need some copy/paste functions for the code. Also I can see in the some new syntax like groups[0]. Hope it eill make its way into the scripting language
Anyway, I'm trying to validate some input like a number followed by the letter 'h' or 'm' like this
^(\d{1,3})(h|m) on text '80h'
It works in the regex tester. However, when used in a script I get this weird error
aused by: java.util.regex.PatternSyntaxException: Error in {min,max} interval near index 5:
(^\d{error})(h|m)
^
It seems to be a problem with the {interval}
Thx
Anyway, I'm trying to validate some input like a number followed by the letter 'h' or 'm' like this
^(\d{1,3})(h|m) on text '80h'
It works in the regex tester. However, when used in a script I get this weird error
aused by: java.util.regex.PatternSyntaxException: Error in {min,max} interval near index 5:
(^\d{error})(h|m)
^
It seems to be a problem with the {interval}
Thx