Escaping backslash in Swift

Question or problem in the Swift programming language: I’m sending regular expressions to CloudKit as a String value and it doesn’t seem to like it, replacing \\by \. However, once I’m getting this value from my app I would like to retransform it in its original form, with \\instead of \.

Continue Reading