Skip to content

expandGlob/expandGlobSync does not handle escaped paths well #6787

@dsherret

Description

@dsherret

Describe the bug

expandGlob/expandGlobSync do not match non-glob path segments with escaped glob characters.

Steps to Reproduce

  1. File is [file].txt
  2. Try to use globSync/glob to find \[file\].txt

Expected behavior

Should match, but it doesn't.

Environment

  • std version: 1.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions