Skip to content

Make string.is_command(str) return the longest prefix #49

@AlexandrKedrov

Description

@AlexandrKedrov

string.is_command(str) returns the first matching prefix to the passed parameter.
I suggest making it return the longest matching.
This would allow to use prefixes which embrace the others (eg ‘//‘).

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