Skip to content

Commit 5d50052

Browse files
authored
Merge pull request #3891 from gotmax23/fix-syntax-warning
textcode markup: fix SyntaxWarning in regex
2 parents edd4caa + 797d779 commit 5d50052

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.rst

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ v33.0.0 (next next, roadmap)
4949
- New and improved copyright detection with many false positive removed
5050
and refined detection added.
5151

52+
- Fix Python ``SyntaxWarning`` in textcode module.
5253

5354
v32.2.1 - 2024-07-02
5455
---------------------

src/textcode/markup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def is_debian_tag(t):
201201
r"|"
202202
r"href"
203203
r"|"
204-
"['\"]?/>"
204+
r"['\"]?/>"
205205
r"|"
206206
r"/>"
207207
r")",

0 commit comments

Comments
 (0)