Remove capture group from titleization regex

This commit is contained in:
Zed 2022-01-10 00:36:58 +01:00
parent c042c84203
commit db74fa8893
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import ../views/[general, preferences]
export preferences
let reTitleize = re"(?<![A-z])([a-z])"
let reTitleize = re"(?<![A-z])[a-z]"
proc titleize(str: string): string =
result = str