Transform: implement "dotAll" s flag
See original GitHub issueThe “dotAll” s
flag enables \n
to match as well:
/./s
Can be translated to:
/[\0-\uFFFF]/
Or into:
/[^]/
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
ECMAScript proposal: s ( dotAll ) flag for regular expressions
ECMAScript proposal: s ( dotAll ) flag for regular expressions. Status. This proposal is at stage 4 of the TC39 process.
Read more >Pattern.DOTALL with String.replaceAll - java - Stack Overflow
Found the inline flag "(?s)". It's the equivalent of DOTALL if you place it at the very beginning of the regex. Problem solved....
Read more >Python Flags to Tune the Behavior of Regular Expressions
DOTALL flag, you can modify the behavior of dot (.) character to match the newline character apart from other characters.
Read more >What are regex modifiers, and how to turn them on? - RexEgg
Explains how to turn on regex modifiers in a variety of languages (. ... Apart from the (?s) inline modifier, Java has the...
Read more >RegExp.prototype.dotAll - JavaScript - MDN Web Docs - Mozilla
The dotAll accessor property indicates whether or not the s flag is used with the regular expression.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
or
[\s\S]
Closing this, feel free to comment if find any issues.