Skip to content

Commit a2bf261

Browse files
committed
Add raw string prefix in regex
1 parent 2e0d505 commit a2bf261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weechat_script_lint/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def _check_signals_irc_out(self) -> None:
359359

360360
def _check_hook_process_url(self) -> None:
361361
"""Check if hook_process(_hashtable) with "url:" is used."""
362-
func_url = self.search_regex("hook_url")
362+
func_url = self.search_regex(r"hook_url")
363363
if func_url:
364364
return
365365
func_process = self.search_func(

0 commit comments

Comments
 (0)