uni-ticket-system/node_modules/licia/escapeRegExp.js
2023-12-05 10:11:10 +08:00

6 lines
95 B
JavaScript

exports = function(str) {
return str.replace(/\W/g, '\\$&');
};
module.exports = exports;