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

Update float parsing regex and add new test cases #19

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

KubaZ2
Copy link
Contributor

@KubaZ2 KubaZ2 commented Jan 24, 2025

Updated the regex in ArgumentsParser to handle floats with leading or trailing decimal points. Added new test cases in TestArgumentsParser to verify parsing of .5, 7., -.5, -7., +.5, and +7..

Updated the regex in `ArgumentsParser` to handle floats with leading or trailing decimal points. Added new test cases in `TestArgumentsParser` to verify parsing of `.5`, `7.`, `-.5`, `-7.`, `+.5`, and `+7.`.
@KubaZ2 KubaZ2 marked this pull request as ready for review January 24, 2025 16:04
@JhnW JhnW merged commit e778416 into JhnW:main Jan 24, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants