Adding DOTALL modifier to ECMAScript regex standards

Jake Reynolds jreynoldsdev at
Wed Aug 10 15:04:39 UTC 2016

I agree, I doubt functionality in IE8- will matter, but I was thinking it
would be nice to align the regex modifiers with other languages for the


There is a variety of namings for this across the languages
(DOTALL/SINGELINE) but I believe the most often used modifier to be
`/.../s` which would be a nice addition to have.

On Wed, Aug 10, 2016 at 9:57 AM, Mathias Bynens <mathiasb at> wrote:

> On Wed, Aug 10, 2016 at 4:40 PM, Bob Myers <rtm at> wrote:
> > If it's any consolation there is the more compact hack of `[^]`, which I
> > **think** is supposed to work everywhere.
> That doesn’t work in IE < 9, but that shouldn’t matter in 2016.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list