Skip to content

Format GPT titles#287

Open
relliv wants to merge 2 commits intoai-boost:mainfrom
relliv:main
Open

Format GPT titles#287
relliv wants to merge 2 commits intoai-boost:mainfrom
relliv:main

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