Skip to content

Support multiple accept states with $ #4

@olehmisar

Description

@olehmisar

Migrated from olehmisar#8

As reported, for "alexa?$" regex, these strings should pass but they fail:

alexaaaalex
alexalex
alexaalex

From @ewynx:

The issue seems to be the combination of $ and multiple accepting states. I think the problem here might be that the occurrence of $ is not incorporated into the DFA itself as a state with its transitions, but as a bool that is read separately.

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