-
Notifications
You must be signed in to change notification settings - Fork 2k
Regular expressions s
(dotAll) flag
#4880
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
Conversation
Should we wait for this to be stage 4 first? otherwise you have to use the plugin |
This feature is at Stage 4: https://github.com/tc39/proposal-regexp-dotall-flag |
@jashkenas @lydell @zdenko @connec I updated the docs to start listing features that CoffeeScript supports that are newer than Node 7.6. See this diff. Any feedback on this language? Note also that Node’s new, native support for modules needs to be addressed. It was painful just writing the instructions for how to use |
Looks good! I would, personally, omit the "Why doesn't CoffeeScript simply always transpile?" paragraph. |
Yeah, I think that made more sense back when we were introducing CoffeeScript 2, but it isn’t needed anymore. |
This adds support for ES2018’s
s
(dotAll) flag.The syntax is only supported in Node 9+, so I added Node 9 to the list of versions we test in CI.
Merging this in would mean that we would need to expand the “Compatibility” section of the docs that currently say:
We would probably need to put a table there, listing the features required by certain Node versions (i.e. async functions: 7.6+,
dotAll
flag: 9+, etc.).