Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First Match issue #8

Open
Clara-Brandt opened this issue Jun 23, 2021 · 0 comments
Open

First Match issue #8

Clara-Brandt opened this issue Jun 23, 2021 · 0 comments

Comments

@Clara-Brandt
Copy link

For this example SRL,

(literally "a" at least 2 times first match) one of"abcd"

The error is given, " Whoops... you may have found a bug." Followed by the most recent error from a previous query, even if it doesn't make sense for the current query (for example, Unexpected statement:$ when the current query does not contain "$")

If the part after the parentheses is removed so that the line is just:

(literally "a" at least 2 times first match)

There is no error. I've found a valid way to write the original expression,

(literally "a" at least 2 times) first match one of"abcd"
https://simple-regex.com/build/60d28737b233c

but this becomes invalid again as soon as a grouping is added

(literally "a" at least 2 times) first match capture(one of"abcd")

citing "Invalid parameter given for at least."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant