Skip to content

Commit a378a21

Browse files
Fix regex for manpage detection
Signed-off-by: Kai Hammerschmidt <kai.hammerschmidt@metaeffekt.com>
1 parent 3c532f0 commit a378a21

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
@@ -4452,7 +4452,7 @@ def collect_candidate_lines(numbered_lines):
44524452
remove_weird_comment_markers = re.compile(r'^(rem|\@rem|dnl)\s+').sub
44534453

44544454
# common comment line prefix in man pages
4455-
remove_man_comment_markers = re.compile(r'\."').sub
4455+
remove_man_comment_markers = re.compile(r'^\.\\"').sub
44564456

44574457

44584458
def remove_code_comment_markers(s):

0 commit comments

Comments
 (0)