From 30246fd6265b94db2bbf849fc1f5163455098665 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 26 Oct 2025 16:52:25 +0100 Subject: [PATCH] Fix logging the regex It was adding backslashes and shit --- processor/regex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processor/regex.go b/processor/regex.go index d1078bb..9bd3472 100644 --- a/processor/regex.go +++ b/processor/regex.go @@ -77,7 +77,7 @@ func ProcessRegex(content string, command utils.ModifyCommand, filename string) processRegexLogger.Debug("Pattern complexity estimate: %d", patternComplexity) if len(indices) == 0 { - processRegexLogger.Warning("No matches found for regex: %q", pattern) + processRegexLogger.Warning("No matches found for regex: %s", pattern) processRegexLogger.Debug("Total regex processing time: %v", time.Since(startTime)) return commands, nil }