Remove capture group from titleization regex
This commit is contained in:
parent
c042c84203
commit
db74fa8893
1 changed files with 1 additions and 1 deletions
|
@ -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