-
Notifications
You must be signed in to change notification settings - Fork 265
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
Negative integers and floats. #24
Comments
Maybe a regex like: |
p-ranav
added a commit
that referenced
this issue
Jun 7, 2019
Pushed some updates to support this, including 6 test cases. Please test and confirm. |
Tests are passing for me. Wow - argparse is looking really good! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to input negative integers or floats? From what I can see
-1
or-1.2e3
are being treated as optional arguments. Maybestd::is_integral
andstd::is_floating_point
could be used to first test for integrals or floating points before testing for an optional argument.The text was updated successfully, but these errors were encountered: