-
-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Description
(Thanks for reporting an issue to micromatch! If you haven't already read the contributor guidelines, Please do that now, then proceed to fill out the details below.)
I am trying to mimic the behaviour of Google Cloud storage, described here: https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-object-glob
In GCS this pattern is a match, but no matter what options I tried with micromatch I can't get it to return true :(
The minimum necessary steps to reproduce this issue:
console.log(require('micromatch').isMatch('Whatever/mine/05a33506-42ee-49a0-b062-9bb90d6548ac/id', '**{id}'))
What is happening that shouldn't be?
result is false
What should be happening instead?
result is true
Most likely I am doing it wrong because I can see this is closed as designed in braces: micromatch/braces#32
However I was wondering if it is possible to configure something to match my desired behaviour?
Metadata
Metadata
Assignees
Labels
No labels