]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change in perl-mode
authorMauro Aranda <maurooaranda@gmail.com>
Fri, 21 Oct 2022 10:45:27 +0000 (07:45 -0300)
committerMauro Aranda <maurooaranda@gmail.com>
Fri, 21 Oct 2022 10:45:27 +0000 (07:45 -0300)
* lisp/progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): Escape
$.  Reported by Mattias EngdegĂ„rd.

lisp/progmodes/perl-mode.el

index c5d5d703fc916e68034765e57f069d24f8046eec..db9df6727971fb30b2734fd51a09f8537d721c7e 100644 (file)
             (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!