1 var fails = require('../internals/fails');
2 var global = require('../internals/global');
4 // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
5 var $RegExp = global.RegExp;
7 module.exports = fails(function () {
8 var re = $RegExp('.', 's');
9 return !(re.dotAll && re.exec('\n') && re.flags === 's');