On Apr 22, 2016, at 12:54 PM, Patrick Gili via swift-evolution 
<[email protected]> wrote:
> If we use a quoting structure similar to Perl6, then we future proof the 
> grammar to accommodate regular expression literals (and multi-line regular 
> expression literals) later. It also gives us the possibility for support for 
> fine-grain control over escaping and interpolation.

Wouldn’t the natural regex literal syntax be to enclose them in /’s, e.g.  
/foo*/  ?

I don’t see how this proposal conflicts with that.

-Chris

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to