Skip to content

** does not work when in parentheses #142

@benmccann

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions