10 lines
213 B
JavaScript
10 lines
213 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
|
function escapeRegExp(str) {
|
|
return str.replace(/[\\^$.*+?()[\]{}|]/g, '\\$&');
|
|
}
|
|
|
|
exports.escapeRegExp = escapeRegExp;
|