Created
January 13, 2017 20:52
-
-
Save dlo/c5d58d385c1ddcb009f19479ec2ac15c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let r = try! NSRegularExpression(pattern: ".", options: []) | |
while true { | |
r.stringByReplacingMatches(in: "", options: [], range: NSRange(), withTemplate: "") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment