-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add custom printing formatting #27
Comments
Should think beforehand how it interacts with #25. |
Would be great if we could use named matchers in the output (e.g. |
@JTBrinkmann it's doable. |
Let's open a separate issue for this and close this one. I forgot to close this issue when |
Feel free to test it. :) |
Define
-format
argument that accepts a string that describes how match results should be printed. If it's an empty string, the entire match is printed as is (current behavior).For non-empty patterns every match is formatted accordingly.
Example:
The text was updated successfully, but these errors were encountered: