mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 23:55:30 +00:00
Remove capture group from titleization regex
This commit is contained in:
parent
c042c84203
commit
db74fa8893
|
@ -9,7 +9,7 @@ import ../views/[general, preferences]
|
||||||
|
|
||||||
export preferences
|
export preferences
|
||||||
|
|
||||||
let reTitleize = re"(?<![A-z])([a-z])"
|
let reTitleize = re"(?<![A-z])[a-z]"
|
||||||
|
|
||||||
proc titleize(str: string): string =
|
proc titleize(str: string): string =
|
||||||
result = str
|
result = str
|
||||||
|
|
Loading…
Reference in a new issue