[swift-evolution] Strings in Swift 4
ben_cohen at apple.com
Mon Jan 23 16:06:22 CST 2017
> On Jan 23, 2017, at 7:49 AM, Joshua Alvarado <alvaradojoshua0 at gmail.com> wrote:
> Taken from NSHipster <http://nshipster.com/nsregularexpression/>:
> Happily, on one thing we can all agree. In NSRegularExpression, Cocoa has the most long-winded and byzantine regular expression interface you’re ever likely to come across.
> There is no way to achieve the goal of being better at string processing than Perl without regular expressions being addressed. It just should not be ignored.
We’re certainly not ignoring the importance of regexes. But if there’s a key takeaway from your experiences with NSRegularExpression, it’s that a good regex implementation matters, a lot. That’s why we don’t want to rush one in alongside the rest of the overhaul of String. Instead, we should take our time to make it really great, and building on a solid foundation of a good String API that’s already in place should help ensure that.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution