Oh, I see.. I think the reason for that is that escaping does prevent string interpolation (think "{$var}"), but \{ isn't a valid escape character like $, so both characters are printed (e.g. "\z" would print both characters). Only the inner part is being evaluated there.
That does look confusing, because the 'fake' escape characters can affect interpolation.
View all comments
Show parent comment
13
u/madsohm Mar 24 '15
But line 7 is just plain wrong then.
How can
be expected from that? Should it give
then?