From 26a18ce34d2684681c6f625d6534be3fd251ff95 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Thu, 3 Oct 2024 23:47:52 +0200 Subject: [PATCH] Use correct regex escape in doctest Signed-off-by: Philippe Ombredanne --- 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 5b0e21f300..e331b5c00a 100644 --- a/src/cluecode/copyrights.py +++ b/src/cluecode/copyrights.py @@ -4449,7 +4449,7 @@ def remove_code_comment_markers(s): """ Return ``s`` removing code comments such as C and C++ style comment markers and assimilated - >>> remove_code_comment_markers(r"\\*#%; /\\/*a*/b/*c\\d#e%f \\*#%; /") + >>> remove_code_comment_markers(r"\\*#%; /\\/*a*/b/*c\d#e%f \\*#%; /") 'a b c\\\d e f' """ return (s