mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Regular expressions s (dotAll) flag (#4880)
* Support ES2018 regex dotall flag * Test in Node 9 * Alphabetize regex flags * Split regex dotall test into its own file, use new feature detection method of loading it * Update docs to explain compatibility for ES2018 and newer Node features * Remove unnecessary paragraph
This commit is contained in:
@@ -1261,7 +1261,7 @@ REGEX = /// ^
|
||||
///
|
||||
|
||||
REGEX_FLAGS = /^\w*/
|
||||
VALID_FLAGS = /^(?!.*(.).*\1)[imguy]*$/
|
||||
VALID_FLAGS = /^(?!.*(.).*\1)[gimsuy]*$/
|
||||
|
||||
HEREGEX = /// ^
|
||||
(?:
|
||||
|
||||
Reference in New Issue
Block a user