fix match group

This commit is contained in:
Antonio J. Delgado 2025-02-05 11:51:44 +02:00
parent c54cbc66d5
commit 066097ea63

View file

@ -220,7 +220,7 @@ class ImapFilter:
self._log.debug(
"Line '%s' found in current file. '%s'",
search,
match.group(1)
match.group(0)
)
new_content = re.sub(search, replacement, content)
if content != new_content: