Commit b6a52f9

lisumio <50114294+lisumio@users.noreply.github.com>
2021-07-26 20:06:36
fix: update 'quote' function regex (#167)
1 parent 18f64bc
Changed files (1)
index.mjs
@@ -238,7 +238,7 @@ function substitute(arg) {
 }
 
 function quote(arg) {
-  if (/^[a-z0-9_.-/]+$/i.test(arg)) {
+  if (/^[a-z0-9/_.-]+$/i.test(arg)) {
     return arg
   }
   return `$'`