Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

First Match issue #8

Description

@Clara-Brandt

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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions