> On Jan 23, 2017, at 7:49 AM, Joshua Alvarado <[email protected]> > 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.
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
