Skip to content

Commit 2e36eaf

Browse files
authored
Merge pull request #2788 from soimkim/develop
Remove regular expression futurewarning
2 parents 4a97637 + 75a6272 commit 2e36eaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cluecode/copyrights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3381,7 +3381,7 @@ def candidate_lines(numbered_lines):
33813381
# this catches tags but not does not remove the text inside tags
33823382
remove_tags = re.compile(
33833383
r'<'
3384-
r'[(--)\?\!\%\/]?'
3384+
r'[(-\-)\?\!\%\/]?'
33853385
r'[a-gi-vx-zA-GI-VX-Z][a-zA-Z#\"\=\s\.\;\:\%\&?!,\+\*\-_\/]*'
33863386
r'[a-zA-Z0-9#\"\=\s\.\;\:\%\&?!,\+\*\-_\/]+'
33873387
r'\/?>',

0 commit comments

Comments
 (0)