Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-04-01 01:14:39 +03:00
parent 70b9976536
commit 8517ed1d0f

View File

@ -10,7 +10,8 @@
//
var quoteRegExp =
RegExp.quoteRegExp =
function(str){
RegExp.quoteRegExp
|| function(str){
return str
.replace(/([\.\\\/\(\)\[\]\$\*\+\-\{\}\@\^\&\?\<\>])/g, '\\$1') }