
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