source:
trip-planner-front/node_modules/core-js/internals/regexp-unsupported-dot-all.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 261 bytes |
Line | |
---|---|
1 | var fails = require('./fails'); |
2 | |
3 | module.exports = fails(function () { |
4 | // babel-minify transpiles RegExp('.', 's') -> /./s and it causes SyntaxError |
5 | var re = RegExp('.', (typeof '').charAt(0)); |
6 | return !(re.dotAll && re.exec('\n') && re.flags === 's'); |
7 | }); |
Note:
See TracBrowser
for help on using the repository browser.