You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My contributors do not always format their pull request titles appropriately, so I want to implement a replacer that always uppercases the first letter of the changelog entry. I tried this:
replacers:
# Uppercase the first letter of each changelog entry
- search: '/- ([a-z])/g'replace: '- \u$1'
The \u works for some regex replacers, like in VSCode. However, this does not seem to work. Is there a way I can achieve this? If not, consider this a feature request!
The text was updated successfully, but these errors were encountered:
JavaScript sees the \u as an Unicode rather than a regex replacement.
I can't find any NPM package that implements this behavior so either we have written something or simply accept this is not something that is supported in JavaScript 😅
My contributors do not always format their pull request titles appropriately, so I want to implement a replacer that always uppercases the first letter of the changelog entry. I tried this:
The
\u
works for some regex replacers, like in VSCode. However, this does not seem to work. Is there a way I can achieve this? If not, consider this a feature request!The text was updated successfully, but these errors were encountered: