Skip to content

pat: Implement prefix pattern #62

@timbray

Description

@timbray

Note that the following are equivalent

{ "a": [ {"shellstyle": "foo*"} ] }
{"a": [ {"prefix": "foo"} ] }

It's already special-cased in makeShellStyleAutomaton. So there are a variety of ways this could be done, ranging from just re-writing the pattern to fixing up the switch on ValueType in AddPattern. But no new automaton construction should be required.

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