|
From: | Jackson Ray Hamilton |
Subject: | Re: [Emacs-diffs] feature/jsx 9e65e4b 3/3: Improve whitespace and unary keyword parsing |
Date: | Mon, 8 Apr 2019 08:43:12 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hi Stefan,You’re right. I pushed “Permit non-ASCII identifiers in JS” to address this.
Jackson On 4/7/19 6:02 PM, Stefan Monnier wrote:
+(defconst js--name-start-re (concat "[a-zA-Z_$]") "Regexp matching the start of a JavaScript identifier, without grouping.")BTW, my knowledge of Javascript is very limited, but IIUC its identifiers are not limited to ASCII, so [[:alpha:]_$] is probably a better regexp. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |