commit 7bc89af72a4a34678aff8ffeab9913736b77dcf9
parent bc9bd5e9251e1981e191eef73df7b8d31ceb72ee
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Sun, 17 Jul 2022 17:29:57 +0200
Change regex quoting to prevent / being misinterpreted.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/fileset.awk b/bin/fileset.awk
@@ -21,7 +21,7 @@ function escaped(str) {
}
function quoted(str) {
- if(str ~ /^[a-zA-Z0-9_./]+$/)
+ if(str ~ "^[a-zA-Z0-9_./]+$")
return str
gsub(/'/, "'\\''", str)
return "'" str "'"