-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Reusable tokens #1494
Comments
What are the use cases of this? Let's take e.g. I don't think that there are many places where we can get away with Patterns like The cases where you can easily share patterns are between languages with very similar syntax and these are already taken care of by So, where will they be used? |
I think places like these is the intention. If the same pattern isn't used in multiple places, then we don't get much and isn't worth it. |
Also the helper that generates keyword regexes could be general enough to be able to combine other regexes as alternatives. Then we could have a |
Doesn't this imply that It might be ok because we don't valid syntax, but do we really want to be that inclusive? |
How does it imply that? 🤔 |
If But I would still like to hear the answer to the other questions. 😄 |
Suggestion by @LeaVerou (#1479 (comment)):
The text was updated successfully, but these errors were encountered: