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

Documentation

Specification

Specification link


Specification being incubated in a Community Group

Status in Chromium

Blink>JavaScript>Language


Enabled by default (tracking bug)

Consensus & Standardization

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

Owners

Search tags

regexp, regular expressions,

Last updated on 2020-11-09