From: Edward Betts <edward@4angle.com>
Date: Thu, 29 May 2025 21:28:51 -0500
Subject: Fix SyntaxWarning in regexp

---
 fritzconnection/core/soaper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fritzconnection/core/soaper.py b/fritzconnection/core/soaper.py
index 3b47ee1..ccc5ada 100644
--- a/fritzconnection/core/soaper.py
+++ b/fritzconnection/core/soaper.py
@@ -204,7 +204,7 @@ def redact_response(redact: bool, input: str):
     redacted = re.sub(r"(<{0}>)(.*)(</{0}>)".format(ext_ip_keys), r"\1******\4", redacted)
 
     # redact wifi passwords
-    wifi_pwd_keys = 'New(WEPKey\d+|PreSharedKey|KeyPassphrase)'
+    wifi_pwd_keys = r'New(WEPKey\d+|PreSharedKey|KeyPassphrase)'
     redacted = re.sub(r"(<{0}>)(.*)(</{0}>)".format(wifi_pwd_keys), r"\1******\4", redacted)
     return redacted
 
