We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2140ed0 commit 7b5e78dCopy full SHA for 7b5e78d
Sources/POEditorParser/Lib/LiteralsParser.swift
@@ -29,7 +29,7 @@ struct Variable {
29
- alreadyReadPages <- this should not be captialized (or we'll lose the Read and Pages capital letters)
30
*/
31
32
- let words = rawKey.split(separator: " ").map(String.init)
+ let words = rawKey.components(separatedBy: .alphanumerics.inverted)
33
if words.count == 1 {
34
return words[0].lowercaseFirst
35
}
0 commit comments