question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transform: implement "dotAll" s flag

See original GitHub issue

The “dotAll” s flag enables \n to match as well:

/./s

Can be translated to:

/[\0-\uFFFF]/

Or into:

/[^]/

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
hg42commented, Apr 13, 2017

or [\s\S]

0reactions
DmitrySoshnikovcommented, Apr 14, 2017

Closing this, feel free to comment if find any issues.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found