Fix last change in perl-mode

* lisp/progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): Escape
$.  Reported by Mattias Engdegård.
This commit is contained in:
Mauro Aranda 2022-10-21 07:45:27 -03:00
parent 3ad9ac25a8
commit 4b40b790ae

View file

@ -223,7 +223,7 @@
(regexp-opt perl--syntax-exp-intro-keywords)
;; A HERE document as an argument to printf?
;; when printing to a filehandle.
"\\|printf?[ \t]*$?[_[:alpha:]][_[:alnum:]]*"
"\\|printf?[ \t]*\\$?[_[:alpha:]][_[:alnum:]]*"
"\\|=>"
"\\|[?:.,;|&*=!~({[]"
"\\|[^-+][-+]" ;Bug#42168: `+' is intro but `++' isn't!