[Returned for revision] SE-0200: "Raw" mode string literals

(Douglas Gregor) #1

Hello Swift community,

The review of SE-0200: “Raw” mode string literals ran from March 16…26, 2018. The proposed is returned for revision, and should be further discussed as a pitch to coalesce further before coming up for review again.

During the review discussion, a few issues surfaced with the proposal, including:

  • The proposed r"..." syntax didn’t fit well with the rest of the language. The most-often-discussed replacement was #raw("..."), but the Core Team felt more discussion (as a pitch) is necessary.

  • The proposal itself leans heavily on regular expressions as a use case for raw string literals. Several reviewers remarked that the motivation wasn’t strong enough to justify the introduction of new syntax in the language, so a revised proposal will need additional motivating examples in other domains.

    Thank you,

[Pitch v2]: Raw strings and SE-0200
[Accepted] SE-0200: Enhancing String Literals Delimiters to Support Raw Text
(Douglas Gregor) closed #2