Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format GPT titles #287

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Format GPT titles #287

wants to merge 2 commits into from

Conversation

relliv
Copy link
Contributor

@relliv relliv commented Nov 7, 2024

Added missing spaces, removed unnecessary spaces with regex pattern.

Pattern: ^([\d*]+)\.\s+((?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F?)(?:\u200D(?:\p{Emoji_Presentation}|\p{Emoji}\uFE0F?))*)(\w+)

Replace: $1. $2 $3

Preview:
https://github.com/user-attachments/assets/8441604a-c777-4ae1-8e71-915f033cc186

Also, to improve the formatting and fixing possible we can use this pattern with Github actions.

Added missing spaces, removed unnecessary spaces
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.

1 participant