Skip to content

FilesCheck: fix manpage regex to support numbers#1459

Open
danigm wants to merge 1 commit intomainfrom
no-man-pip3
Open

FilesCheck: fix manpage regex to support numbers#1459
danigm wants to merge 1 commit intomainfrom
no-man-pip3

Conversation

@danigm
Copy link
Member

@danigm danigm commented Feb 13, 2026

Fix #1458

re.compile(r'^/etc/(g?shadow-?|securetty)$'))

man_base_regex = re.compile(r'^/usr(?:/share)?/man(?:/overrides)?/man(?P<category>[^/]+)/(?P<filename>((?P<binary>[^.]+)\..+))')
man_base_regex = re.compile(r'^/usr(?:/share)?/man(?:/overrides)?/man(?P<category>[^/]+)/(?P<filename>((?P<binary>.+)\.[^.]+\.[^.]+))')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
man_base_regex = re.compile(r'^/usr(?:/share)?/man(?:/overrides)?/man(?P<category>[^/]+)/(?P<filename>((?P<binary>.+)\.[^.]+\.[^.]+))')
man_base_regex = re.compile(r'^/usr(?:/share)?/man(?:/overrides)?/man(?P<category>[^/]+)/(?P<filename>((?P<binary>.+)\.\d.*))')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bogus no-manual-page-for-binary pip-3.14

2 participants