Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern manipulation #1548

Open
shaneHowearth opened this issue Jan 14, 2025 · 0 comments
Open

Pattern manipulation #1548

shaneHowearth opened this issue Jan 14, 2025 · 0 comments

Comments

@shaneHowearth
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant