first commit
This commit is contained in:
11
app_vue/node_modules/@hapi/hoek/lib/escapeRegex.js
generated
vendored
Normal file
11
app_vue/node_modules/@hapi/hoek/lib/escapeRegex.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
const internals = {};
|
||||
|
||||
|
||||
module.exports = function (string) {
|
||||
|
||||
// Escape ^$.*+-?=!:|\/()[]{},
|
||||
|
||||
return string.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g, '\\$&');
|
||||
};
|
Reference in New Issue
Block a user