From 0fde332d168a440e0199d58e2b1ec2d605880baf Mon Sep 17 00:00:00 2001 From: Don-Swanson <32144818+Don-Swanson@users.noreply.github.com> Date: Sat, 20 Sep 2025 16:47:08 -0500 Subject: [PATCH] Fixed Feeling lucky failure --- app/utils/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/search.py b/app/utils/search.py index 0f2d7fe..d77a97f 100644 --- a/app/utils/search.py +++ b/app/utils/search.py @@ -103,7 +103,7 @@ class Search: pass # Strip '!' for "feeling lucky" queries - if match := re.search("(^|\s)!($|\s)", q): + if match := re.search(r"(^|\s)!($|\s)", q): self.feeling_lucky = True start, end = match.span() self.query = " ".join([seg for seg in [q[:start], q[end:]] if seg])