Closed
Description
It appears a regex ending in *
breaks indenting below it in a block.
if (true) {
var re = /.*/;
console.log('I am broken');
console.log('Because I end in *');
}
if (true) {
var re = /.*$/;
console.log('I do not end in *');
console.log('So I am fine');
}
Can anyone replicate or confirm?
Apologies if this was already reported.