Subject: Re: bug#69571: 29.2; csharp-mode indentation: Misaligned closing brace in blocks starting below "new"

From: Theodor Thornhill <[email-masked]>
Date: Sun, 31 Mar 2024 10:57:54 +0200

Mattias Engdegård <[email-masked]> writes:

>> -         (looking-at ".*new.*")))
>> +         (looking-at "^[^//]*new[^//]*;$")))
>
>
> That regexp doesn't look right: [^//] doesn't mean "no occurrence of double-slash" but is just the same as [^/].

Pushed a new commit doing more shenanigans here, along with more tests.

Thanks
theo