bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#997: perl-mode: Incorrect syntax highlighting for regex at top-level


From: Mauro Aranda
Subject: bug#997: perl-mode: Incorrect syntax highlighting for regex at top-level
Date: Mon, 19 Sep 2022 13:03:08 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

tags 997 patch
quit


haj@posteo.de (Harald Jörg) writes:

> Correctly detecting "nothing" in a regex needs some care.  So I'd like
> to treat this as a separate bug which remains open for now.

I attach a patch to fix this bug, by detecting that we moved to the
beginning of buffer when searching for something before the "/".

Attachment: 0001-perl-mode-is-a-regexp-match-if-there-s-nothing-befor.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]