$ escape sequences in quasis

Waldemar waldemar at google.com
Thu May 26 10:08:59 PDT 2011


If unicode character u+1234 is an identifier character, then this is a
substitution of a variable whose name is that one-letter identifier just
like any other $foo substitution would be. If not, then this is the two
characters $ and u+1234.

On Wed, May 25, 2011 at 4:19 PM, Mike Samuel <mikesamuel at gmail.com> wrote:

> What is your feeling on the meaning of `$\u1234` using the default
> quasi handler that simply joins non-raw literal portions on empty
> string?
>
> Should that be equivalent to "\u1234" or "$\u1234"?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110526/884e7de1/attachment-0001.html>


More information about the es-discuss mailing list