Subject: bug#37127: 27.0.50; in cperl mode, scan-error Unbalanced parentheses

From: Stefan Kangas <[email-masked]>
Date: Fri, 4 Oct 2019 01:02:14 +0200

tags 37127 + confirmed
quit

Vincent Lefevre <[email-masked]> writes:

> On the following file
>
> # -*- mode: cperl -*-
> s/./(/e;
>
> putting the cursor just after the opening parenthesis then typing a
> closing parenthesis yields the following error:
>
>   End of ‘s/ ... // ... /’ string/RE not found: (scan-error Unbalanced parentheses 26 29)

I can reproduce this as well.

Best regards,
Stefan Kangas