]> git.eshelyaron.com Git - emacs.git/commit
; cperl-mode: Avoid excessive regexp backtracking (Bug#8077)
authorHarald Jörg <haj@posteo.de>
Tue, 4 Jul 2023 15:42:05 +0000 (17:42 +0200)
committerHarald Jörg <haj@posteo.de>
Tue, 4 Jul 2023 15:43:59 +0000 (17:43 +0200)
commit0e6ac3ffd403d811244760f7ba6dd1997dd18bcb
treef84f5b36e71a31dafd8dbe8e2fccd2678ca1f108
parent753aaeb99c7eaa87e40c058235e31ef773babc8a
; cperl-mode: Avoid excessive regexp backtracking (Bug#8077)

* lisp/progmodes/cperl-mode.el (defconst): Add a word-start
assertion to cperl--single-attribute-rx
(cperl-after-sub-regexp): Dito
(cperl-init-faces): shorten matches of incomplete sub declarations
lisp/progmodes/cperl-mode.el