Skip to content

--smart-case is fooled by capital letters in metacharacters #670

@petdance

Description

@petdance
ack --smart-case 'select \S+ from'

The capital S makes ack think that there's a capital letter in the pattern and therefore the search should be case-sensitive.

This is also a problem in ack3. beyondgrep/ack3#156

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