Skip to content

MUIFileSearcher.GetFiles(string path, string pattern) in 'MUIFileSearcher.cs' needs to be refactored #4053

@daxian-dbw

Description

@daxian-dbw

PR #3852 fixes the pattern matching issue for Get-Help. However, the implementation should be using WildcardPattern instead of directly using regular expression. Basically it should use the same code as in https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs#L5957-L5969, which implements Directory.GetFiles(path, pattern); in a case-insensitive way,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions