Skip to content

double star at end match #38

@elvizlai

Description

@elvizlai

Is this the match bug when double start ends?

// should this be true? but the result is false
fmt.Println(zglob.Match(`/**`, `/abc/def/123`))

and for example, the result are all true, matching seems not difference when ending with star.

fmt.Println(zglob.Match(`/*`, `/abc.txt`))
fmt.Println(zglob.Match(`/**`, `/abc.txt`))

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