RegExp `dotAll` mode / `s` flag

The new `s` flag for ECMAScript regular expressions makes `.` match any character, including line terminators.

Documentation

Specification

Editor's draft

Status in Chromium

Blink>JavaScript>Language


Enabled by default (tracking bug) in:

  • Chrome for desktop release 62
  • Chrome for Android release 62
  • Android WebView release 62

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Last updated on 2017-11-15