Removing CharacterSet characters from a string seems hard

No bug above, all according to the rules. This could be called a bug:

let imporṭ = 1
let imporṭ = 2
// no error

Despite Xcode treats the strings the same (when you search for example) the compiler treats them different because it uses similar "shortcuts" you are advocating for... (there are also other technicalities why it can't use proper unicode rules).

1 Like