[swift-evolution] Empower String type with regular expression

David Hart david at hartbit.com
Mon Feb 1 01:31:02 CST 2016


> On 01 Feb 2016, at 04:39, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Further, I highly recommend checking out Perl 6’s regular expressions.  They are a community that has had an obsessive passion for regular expressions, and in Perl 6 they were given the chance to reinvent the wheel based on what they learned.  What they came up with is very powerful, and pretty good all around.

Hi Chris,

Which parts of the Perl 6 regexes do you think are interesting to keep for Swift? What you suggest also means dropping NSRegularExpression support for literals and instead introducing a Regex class in the stdlib. Correct?

David.


More information about the swift-evolution mailing list