Skip to content

Commit 002e549

Browse files
committed
textcode markup: fix SyntaxWarning in regex
Signed-off-by: Maxwell G <maxwell@gtmx.me>
1 parent 047e383 commit 002e549

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ v33.0.0 (next next, roadmap)
3737
- Update link references of ownership from nexB to aboutcode-org
3838
See https://github.com/aboutcode-org/scancode-toolkit/issues/3885
3939

40+
- Fix Python ``SyntaxWarning`` in extractcode module.
41+
4042

4143
v32.2.1 - 2024-07-02
4244
---------------------

src/textcode/markup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def demarkup(location):
118118
r'|'
119119
r'href'
120120
r'|'
121-
'[\'"]?\/\>'
121+
r'[\'"]?\/\>'
122122
r'|'
123123
r'/>'
124124
r')',

0 commit comments

Comments
 (0)