You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regex parsing fails when the ? is present in the regex. Considering that this is a very frequently used quantifier, this error can be quite frequent.
# org.opentest4j.AssertionFailedError:
# Unexpected internal error near index 14
# /\w{2}/search\
After debugging, found the issue in the MatchOperation class.
I fixed the bug and run the tests locally successfully, and therefore will submit a PR.
The text was updated successfully, but these errors were encountered:
aleruz
pushed a commit
to aleruz/karate
that referenced
this issue
Mar 22, 2021
https://github.com/aleruz/karate-call-single-bug/blob/main/src/test/java/examples/regexp/regexp.feature
mvn test "-Dkarate.options=--tags @regex"
The regex parsing fails when the
?
is present in the regex. Considering that this is a very frequently used quantifier, this error can be quite frequent.After debugging, found the issue in the
MatchOperation
class.I fixed the bug and run the tests locally successfully, and therefore will submit a PR.
The text was updated successfully, but these errors were encountered: