[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24854: 25.1; indent error with regexp
From: |
Dmitry Gutov |
Subject: |
bug#24854: 25.1; indent error with regexp |
Date: |
Tue, 15 Nov 2016 02:04:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 |
On 02.11.2016 01:30, James Yang wrote:
var re = /some value/
str.match(re)
4. You can see line 2 will have indent, which should not.
I also report it to this url: https://github.com/mooz/js2-mode/issues/382
Thanks for the report. The patch is attached.
Eli, would you allow this for 25.2? It's not a regression, but the fix
is simple.
js-indent-after-regexp-without-semi.diff
Description: Text Data