-
Notifications
You must be signed in to change notification settings - Fork 84
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
Typo on the homepage (underscore and dash) #1837
Comments
Thanks a lot for reporting this! I agree that this formulation is a bit confusing, I'll see about coming up with a better presentation. For what it's worth, valid identifiers currently need to match the regexp |
That seems even more confusing to me 🙂 |
The regexp says that identifiers may optionally start with I'll make a change to the docs and hopefully clarify that. |
Explicitly mention the validity of dashes and leading underscores. Fixes #1837
Explicitly mention the validity of dashes and leading underscores. Fixes #1837
Looks much better! |
I quote
Underscores are allowed, and you proof that by giving an example with dashes.
I guess either dashes are also ok, and you forgot that to mention, or you made a mistake in that last sentence.
https://nickel-lang.org/user-manual/syntax
The text was updated successfully, but these errors were encountered: