Raw string literals and Unicode escapes

John Rose john.r.rose at oracle.com
Tue Feb 13 22:27:30 UTC 2018

On Feb 13, 2018, at 2:19 PM, Jim Laskey <james.laskey at oracle.com> wrote:
> So, change the scanner to
> A) Peek back to make sure the first open backtick was exactly a backtick.
> B) Turn off Unicode escapes immediately so that only backtick characters can be part of the delimiter.
> C) Turn on Unicode escapes only after a valid closing delimiter is encountered.
> Based on this all your examples are illegal.


I think this is also the simplest behavior to explain to users.

More information about the amber-spec-observers mailing list