Skip to content

Double star path matching not working as expected #58

@pjlast

Description

@pjlast

When trying to match something.java to the path **/something.java, the package returns false.

This seems to be incorrect. Every online glob match tester I've tried makes a successful match, for example:
https://www.digitalocean.com/community/tools/glob?comments=true&glob=**/something.java&matches=false&tests=something.java&tests=/something.java

But I could also be misunderstanding something here. Any clarification would be appreciated!

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