Skip to content

Stars in sets of options are considered a valid pattern #4

@mpomarlan

Description

@mpomarlan

Example:

grammaregex.verify_pattern("[VERB,**]/")
True
grammaregex.verify_pattern("[VERB,
]/*")
True

This happens because the full verify_pattern function is called on each list element, meaning each list element gets matched against a regex for which "*" and "**" are acceptable strings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions