From: Oleg Broytman Date: Thu, 28 Sep 2023 12:34:40 +0000 (+0300) Subject: Style: Fix flake8 W605 invalid escape sequence X-Git-Tag: 5.0.0~68 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4c235e58fdef35765aedaa40ef106f5ad0fce269;p=bookmarks_db.git Style: Fix flake8 W605 invalid escape sequence --- 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]+;)")