That, too, is interesting, but very not-Swifty. It looks like the closure is being assigned to the place where the regex matches, and that's completely nonsensical. I doubt anything like that would ever make it to the stdlib.
That, too, is interesting, but very not-Swifty. It looks like the closure is being assigned to the place where the regex matches, and that's completely nonsensical. I doubt anything like that would ever make it to the stdlib.