diff --git a/files/helpers/regex.py b/files/helpers/regex.py index aee131d99e..20d67b46e3 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -165,7 +165,10 @@ def sub_matcher(match:re.Match, upper=False, replace_with:Union[dict[str, str], return match_str else: repl = replace_with[match_str.lower()] - return repl if not upper or "