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

support _ as a first character in env file keys #263

Closed
willkg opened this issue Oct 24, 2024 · 0 comments · Fixed by #264
Closed

support _ as a first character in env file keys #263

willkg opened this issue Oct 24, 2024 · 0 comments · Fixed by #264

Comments

@willkg
Copy link
Owner

willkg commented Oct 24, 2024

From #224, everett should support _ as a first character in env file keys. Currently, it does not:

# Regex for valid keys in an env file
ENV_KEY_RE = re.compile(r"^[a-z][a-z0-9_]*$", flags=re.IGNORECASE)

References:

https://pubs.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap08.html

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 a pull request may close this issue.

1 participant