Skip to content

** does not work when in parentheses #142

Description

@benmccann

The following prints false when I'd expect it to print true:

const pm = require('picomatch');

console.log(pm('test(/utils/**)')('test/utils'));
console.log(pm('test?(/utils/**)')('test/utils'));

On the otherhand, pm('test/utils/**')('test/utils) behaves as expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions