Skip to content

Support for double asterisk matches ** like bash globbing #85

@ssbarnea

Description

@ssbarnea

It is not clear from the REAME if this library supports ** in matching patterns. That feature is extremely important for some use cases because foo/*/*.yml is expected to match only one folder deep, while using foo/**/*.yml is expected to go recursively.

Basically ** includes the directory separator while simple one does not. Is this supported? If not it should be stated as it one of the most popular globbing features.

Apparently https://github.com/microsoft/vscode-json-languageservice/blob/main/src/utils/glob.ts implementations supports that.

Reference: https://stackoverflow.com/questions/32604656/what-is-the-glob-character

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