1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-22 01:45:22 +01:00

Remove capture group from titleization regex

This commit is contained in:
Zed 2022-01-10 00:36:58 +01:00
parent c042c84203
commit db74fa8893

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