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 New Issue