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

Allow hyphen and underscore in keys in ArgsConfiguration #37

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

51-code
Copy link
Contributor

@51-code 51-code commented Feb 18, 2025

Fixes #36 .

The configurations for String[] args have to be given in "key=value" format. Keys supported letters and a dot before. Reworked it so that hyphens and underscore are also supported.

Updated the javadoc for the regex and made the exception message a bit more clear: it now informs about a possible illegal character in the configurations as well.

@51-code 51-code added the feature Existing feature label Feb 18, 2025
@51-code 51-code requested a review from elliVM February 18, 2025 06:53
Copy link

@elliVM elliVM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@51-code 51-code requested a review from kortemik February 18, 2025 08:16
@kortemik kortemik merged commit dc1b851 into teragrep:main Feb 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for underscore and hyphen
4 participants