[swift-evolution] Strings in Swift 4
Ben Cohen
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...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170123/a9e66d86/attachment.html>
More information about the swift-evolution
mailing list