• Simplified glob matching. Supports a subset of glob patterns:

    • * matches anything inside a path segment
    • ? matches 1 character inside a path segment
    • ** matches anything including an empty path segment
    • simple brace expansion ({js,ts} => js or ts)
    • character ranges (using [...])

    Parameters

    Returns boolean

  • Parameters

    • expression: IExpression
    • path: string
    • Optional hasSibling: ((name) => boolean)
        • (name): boolean
        • Parameters

          • name: string

          Returns boolean

    Returns string