Guys, I'm porting some existing Swift 1.2 code to Swift 2.0 and I've got a small issue. I'm pretty new to Swift at all, so I can't get wrap my head around something.. I'm getting the error: type of expression is ambiguous without more context
Code:
var uuidRegex = NSRegularExpression(pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$", options: .CaseInsensitive, error: nil)!