Skip to content

ag get wrong result using regular expression #1543

@Lithiumion007

Description

@Lithiumion007

input: echo "Foot" | ag '[^a-z]oo'
outout: nothing
input: echo "Foot" | ag -s '[^a-z]oo'
output: Foot
why? i can't understand it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions