From 75a6272f6fab149d4ebff4cc4ab6fd3458e14b3b Mon Sep 17 00:00:00 2001 From: Soim Kim Date: Mon, 3 Jan 2022 14:19:38 +0900 Subject: [PATCH] Remove regular expression futurewarning Signed-off-by: Soim Kim --- src/cluecode/copyrights.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluecode/copyrights.py b/src/cluecode/copyrights.py index fb257bef371..bceb8cc5e7a 100644 --- a/src/cluecode/copyrights.py +++ b/src/cluecode/copyrights.py @@ -3381,7 +3381,7 @@ def candidate_lines(numbered_lines): # this catches tags but not does not remove the text inside tags remove_tags = re.compile( r'<' - r'[(--)\?\!\%\/]?' + r'[(-\-)\?\!\%\/]?' r'[a-gi-vx-zA-GI-VX-Z][a-zA-Z#\"\=\s\.\;\:\%\&?!,\+\*\-_\/]*' r'[a-zA-Z0-9#\"\=\s\.\;\:\%\&?!,\+\*\-_\/]+' r'\/?>',