Raw string literals and Unicode escapes

Alex Buckley alex.buckley at oracle.com
Mon Feb 26 18:43:46 UTC 2018

On 2/25/2018 4:19 AM, Remi Forax wrote:
> I'm late in the game but why not using the same system as Perl, PHP,
> Ruby to solve the Lts [1], i.e
> you have a sequence that says this is the starts of a raw string (%Q,
> qq, m) then a character (in a predefined list), the raw string and at
> the end of the raw string the same character as at the beginning (or its
> mirror).
> By example, this 'raw' as prefix for a raw string
> raw`this is a raw string`
> raw'this is another raw string'
> raw[yet another raw string]

See "Choice of Delimiters" in the "Alternatives" section of the JEP.


More information about the amber-spec-observers mailing list