hz-zhhq-app/node_modules/core-js/internals/regexp-unsupported-dot-all.js

8 lines
261 B
JavaScript
Raw Normal View History

2025-01-22 10:53:47 +08:00
var fails = require('./fails');
module.exports = fails(function () {
// babel-minify transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
var re = RegExp('.', (typeof '').charAt(0));
return !(re.dotAll && re.exec('\n') && re.flags === 's');
});