From 4c235e58fdef35765aedaa40ef106f5ad0fce269 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 28 Sep 2023 15:34:40 +0300 Subject: [PATCH] Style: Fix flake8 W605 invalid escape sequence --- parse_html/bkmk_parse_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse_html/bkmk_parse_html.py b/parse_html/bkmk_parse_html.py index 0043aa0..d885d52 100644 --- a/parse_html/bkmk_parse_html.py +++ b/parse_html/bkmk_parse_html.py @@ -67,7 +67,7 @@ else: # parsers.append(bkmk_ph_etreetidy.parse_html) universal_charset = "utf-8" -entity_re = re.compile("(&\w+;)") +entity_re = re.compile("(&\\w+;)") num_entity_re = re.compile("(&#[0-9]+;)") -- 2.39.5