Hello,
I'm developing an app that use Regular Expression and i'm with a problem.
var telefone = "+42 43 23123-2221"
let range = telefone.rangeOfString("\\d{4,5}\\-?\\d{4}", options:.RegularExpressionSearch)
print("range \(range)") //here returns nil
This code works on swiftstub
http://swiftstub.com/464635533/
but it doesn't work on Playground.
Thanks!!