-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Regex literals with leading spaces #874
Comments
This has come up previously. Is it a regression, or a reversion to the old syntax rule, or am I imagining that this worked in 0.94? |
Bisecting seems to think cdd033ffb0b88eb6f00e is the first bad commit:
Looking at the commit contents it was intended. However, it seems like hereregexes strip leading whitespace so |
This was killed because of inconsistency wrt parenless calls. Here are some workarounds for the case:
|
I think this might be a case where the less consistent behaviour was also less likely to cause surprises, but the change is understandable. Thanks for the answer. |
So CS interpreted "/" as function name here? |
A division operator, rather. |
Should be added to the doc. |
I think this bug was introduced in 0.95
The text was updated successfully, but these errors were encountered: