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

Add teragrep regexextract command #82

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

51-code
Copy link
Contributor

@51-code 51-code commented Oct 8, 2024

Relevant issue PTH-10#362
and PR explaining the need for a new command: PTH-10#363

The new command:
| teragrep exec regexextract regex= input= output=

All the parameters (regex, input, output) are optional in the grammar, exception handling is done on PTH-10.

Fixed a typo in inputParameter grammar rule as well.

@51-code 51-code added the enhancement New feature or request label Oct 8, 2024
@51-code 51-code requested a review from eemhu October 8, 2024 10:49
@51-code 51-code requested a review from kortemik October 8, 2024 10:52
@kortemik kortemik merged commit 840f155 into teragrep:main Oct 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants