question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to force capitalizing the subject line

See original GitHub issue

This convention is well-known in the community and deemed a good practice in several articles related to Git commit messages, ex. https://cbea.ms/git-commit/#capitalize.

However, it’s currently not possible to get it configured, due to Python stock regex module re limitations - we can’t have a regex pattern that matches a Unicode uppercase character.

There’re 2 possible approaches to this:

  • Implement this as a rule and maybe a default one.

  • Switch to regex module, which has richer regex support with full backward compatibility with the re module.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sigmavirus24commented, Mar 10, 2022

I don’t think this must be done with regular expressions but it would be good to add even if it’s off by default

0reactions
jorisrooverscommented, Aug 16, 2022

Bump @novadev94 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Should You Capitalize Your Email Subject Lines? - HIPB2B
SENTENCE CASE. To pull off this option, capitalize the first word and any proper nouns. Just like if you were writing a sentence....
Read more >
Add or remove AutoCorrect entries in Word - Microsoft Support
Add an entry to the AutoCorrect list · Go to the AutoCorrect tab. · Select the + sign at the bottom left of...
Read more >
3. Capitalization Rules - GovInfo
All principal words are capitalized in titles of addresses, articles, books, captions, chapter and part headings, editorials, essays, head- ings, headlines, ...
Read more >
17+ Email Subject Line Best Practices to Boost Engagement
One common question for optimizing subject lines is what capitalization you should use. There are two viable options: Title case – How to...
Read more >
How To Capitalise Email Subjects Properly - LinkedIn
But there are instances when you will have to capitalise emails subjects in the title case. Although the use title case in emails...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found