Skip to content

Select-String -SimpleMatch does only current culture search #8180

@iSazonov

Description

@iSazonov

We could enhance Select-String -SimpleMatch with Ordinal and OrdinalIgnoreCase search. It may speed up search in some scenarios up to 10x.

Also currently we can not switch to another culture if we use -SimpleMatch.

Note that without -SimpleMatch we use Regex and this new parameter(s) doesn't make sense.

Should we case-insensitive and ordinal by default? It makes sense for searching in logs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions