Skip to content

Fix: Handle parentheses in author names in RTL/LTR linter#12978

Closed
DealsBeam wants to merge 1 commit into
EbookFoundation:mainfrom
DealsBeam:fix-linter-regex-bug
Closed

Fix: Handle parentheses in author names in RTL/LTR linter#12978
DealsBeam wants to merge 1 commit into
EbookFoundation:mainfrom
DealsBeam:fix-linter-regex-bug

Conversation

@DealsBeam
Copy link
Copy Markdown

The BOOK_ITEM_RE regex in scripts/rtl_ltr_linter.py did not correctly parse author names containing parentheses. This change updates the regex to correctly capture the author and metadata, even when the author's name includes parentheses.

The `BOOK_ITEM_RE` regex in `scripts/rtl_ltr_linter.py` did not correctly parse author names containing parentheses. This change updates the regex to correctly capture the author and metadata, even when the author's name includes parentheses.
@eshellman
Copy link
Copy Markdown
Collaborator

do you have an example of an author with parentheses?

@eshellman eshellman added the question Needs clarification by involved users / reviewers label Nov 1, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 2, 2026

'This Pull Request has been automatically marked as stale because it has not had recent activity during last 60 days 😴

It will be closed in 30 days if no further activity occurs. To unstale this PR, draft it, remove stale label, comment with a detailed explanation or push more commits.

There can be many reasons why some specific PR has no activity. The most probable cause is lack of time, not lack of interest.

Thank you for your patience ❤️'

@github-actions github-actions Bot added the stale Requests that have not had recent interaction (Out-of-Date) label Jan 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 2, 2026

This Pull Request has been automatically closed because it has been inactive during the last 30 days since being marked as stale.

As author or maintainer, it can always be reopened if you see that carry on been useful.

Anyway, thank you for your interest in contribute ❤️

@github-actions github-actions Bot closed this Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Needs clarification by involved users / reviewers stale Requests that have not had recent interaction (Out-of-Date)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants