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 future.
*Java:* https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#DOTALL *Python:* https://docs.python.org/2/library/re.html#re.DOTALL *C#:* https://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regexoptions(v=vs.110).aspx 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 <mathi...@opera.com> wrote: > On Wed, Aug 10, 2016 at 4:40 PM, Bob Myers <r...@gol.com> 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. >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss