Skip to content

grep is returning wrong stuff: it's buggy #41

Open
@khwilliamson

Description

@khwilliamson

Context

If I search for
({\d+(,\d+)?}

https://grep.metacpan.org/search?q=%5C%28%5C%7B%5Cd%2B%28%2C%5Cd%2B%29%3F%5C%7D&qd=&qft=

one result I get is this (for Language::Expr)

{category=>'map', has_subexpr=>1, text=>'map({1<}, [])', parse_error=>qr/invalid syntax/i}, # invalid subexpression

That does not match the input expression. There is a '<' that it seems to think is a \d

If I do the same search on grep.cpan.me, I get many more results.

https://grep.cpan.me/?q=%5C%28%5C%7B%5Cd%2B%28%2C%5Cd%2B%29%3F%5C%7D&page=3

I'm not sure that there is any overlap between the results, which would mean it also is buggy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions