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

Character ranges #16

Closed
ndw opened this issue Nov 10, 2021 · 3 comments
Closed

Character ranges #16

ndw opened this issue Nov 10, 2021 · 3 comments

Comments

@ndw
Copy link
Contributor

ndw commented Nov 10, 2021

It appears from the grammar that in a character range, no space is allowed before the hyphen:

range: from, "-", S, to.
@from: character.
  @to: character.

So ["A"-"Z"] is a range, but ["A" - "Z"] is not?

Is that intentional, or am I misunderstanding something?

@spemberton
Copy link
Member

spemberton commented Nov 11, 2021 via email

@spemberton
Copy link
Member

spemberton commented Nov 12, 2021 via email

@ndw
Copy link
Contributor Author

ndw commented Dec 14, 2021

My error. Thank you.

@ndw ndw closed this as completed Dec 14, 2021
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

No branches or pull requests

2 participants