ignore bin

This commit is contained in:
fxy060608
2018-11-18 16:17:04 +08:00
parent d7f7e5ce2b
commit 1949b2ba72
711 changed files with 1 additions and 50672 deletions
-11
View File
@@ -1,11 +0,0 @@
'use strict';
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
module.exports = function (str) {
if (typeof str !== 'string') {
throw new TypeError('Expected a string');
}
return str.replace(matchOperatorsRe, '\\$&');
};