Skip to content

Pattern manipulation #1548

@shaneHowearth

Description

@shaneHowearth

Hi all

I have a need for ag to see underscores in the pattern as spaces, and am looking for a way to do this.

When a test ion my code fails then the output for the testname is something like "the_test_name_has_failed_foo_bar_baz", but the actual test name in the code is "the test name has failed foo bar baz".

I want to just copy and paste it, but obviously because of the underscores I get no results.

Is there a configuration file for ag where I can say "On my machine, whenever you see a '_' then treat it as a single character wildcard" (for example)

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