source: trip-planner-front/node_modules/core-js/internals/regexp-unsupported-ncg.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 288 bytes
Line 
1var fails = require('./fails');
2
3module.exports = fails(function () {
4 // babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError
5 var re = RegExp('(?<a>b)', (typeof '').charAt(5));
6 return re.exec('b').groups.a !== 'b' ||
7 'b'.replace(re, '$<a>c') !== 'bc';
8});
Note: See TracBrowser for help on using the repository browser.