-
Notifications
You must be signed in to change notification settings - Fork 16
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
Broken regex for default value #6
Comments
Hi, thanks for the detailed issue, unfortunately the pattern got a bit changed in the previous release and I didn't catch this. v1.0.3 should cover your example. I included your test also, along with other two variations. |
Hi, |
Hmm, I see, I will revisit this soon with more tests. Thanks! |
@heiner0815 the current pattern allows for alphanumeric, so a-z, A-Z, _ and 0-9 ( |
Hi, In the end it's a question what you want to support. I would prefer the least strict :-) |
Hi,
the regex pattern is broken. One needs to exclude the default_sep character from first matching group, otherwise the environment variable is not set. It should read:
If one changes the default value of the separator from None to "", one could do:
A test like this will fail with current version:
Thanks a lot
The text was updated successfully, but these errors were encountered: