mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
add some packages
This commit is contained in:
10
node_modules/core-js/modules/es6.regexp.match.js
generated
vendored
Normal file
10
node_modules/core-js/modules/es6.regexp.match.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// @@match logic
|
||||
require('./_fix-re-wks')('match', 1, function (defined, MATCH, $match) {
|
||||
// 21.1.3.11 String.prototype.match(regexp)
|
||||
return [function match(regexp) {
|
||||
'use strict';
|
||||
var O = defined(this);
|
||||
var fn = regexp == undefined ? undefined : regexp[MATCH];
|
||||
return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
|
||||
}, $match];
|
||||
});
|
Reference in New Issue
Block a user