From c81e97c3c281492ac6fdf4abc841ac5b63f3f303 Mon Sep 17 00:00:00 2001 From: Jean Abou-Samra Date: Mon, 31 Jan 2022 22:00:40 +0100 Subject: Remove now redundant re.UNICODE and (?u) (#2058) --- pygments/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygments/util.py') diff --git a/pygments/util.py b/pygments/util.py index 658c82ec..8032962d 100644 --- a/pygments/util.py +++ b/pygments/util.py @@ -23,7 +23,7 @@ doctype_lookup_re = re.compile(r''' [^>]*> ''', re.DOTALL | re.MULTILINE | re.VERBOSE) tag_re = re.compile(r'<(.+?)(\s.*?)?>.*?', - re.UNICODE | re.IGNORECASE | re.DOTALL | re.MULTILINE) + re.IGNORECASE | re.DOTALL | re.MULTILINE) xml_decl_re = re.compile(r'\s*<\?xml[^>]*\?>', re.I) -- cgit v1.2.1