Skip to content

Commit 665a71b

Browse files
committed
Use correct regex escape in doctest
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 78a73fe commit 665a71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cluecode/copyrights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4450,7 +4450,7 @@ def remove_code_comment_markers(s):
44504450
Return ``s`` removing code comments such as C and C++ style comment markers and assimilated
44514451
44524452
>>> remove_code_comment_markers(r"\\*#%; /\\/*a*/b/*c\\d#e%f \\*#%; /")
4453-
'a b c\\\d e f'
4453+
'a b c\\\\d e f'
44544454
"""
44554455
return (s
44564456
.replace('/*', ' ')

0 commit comments

Comments
 (0)