[Pitch] Regular Expression Literals

I understand this thread is about literals not about semantics, but I think they would be related to each other.

Let me take my comment in the overview thread:

My thoughts are

  • If Swift adopts similar literals with e.g. Perl, semantics should be similar with Perl.
  • If Swift adopts different semantics from e.g. Perl, literals should be different from Perl.

That would be called perceived affordance.

4 Likes