]> git.eshelyaron.com Git - emacs.git/commit
perl-mode: / is a regexp match if there's nothing before it
authorMauro Aranda <maurooaranda@gmail.com>
Mon, 19 Sep 2022 18:36:53 +0000 (20:36 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 19 Sep 2022 18:36:53 +0000 (20:36 +0200)
commit0275b3a63168f66f3d1a5e8ac96200533519aa27
tree37586b8a6b5b233c09ef50b63461ddf6ee1ebe89
parent60102016e416e5c19fa5945aeb80693dac7ff2e6
perl-mode: / is a regexp match if there's nothing before it

* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
A "/" that starts the first statement is a regexp match.  (Bug#997)
* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-bug-997): New
test.
lisp/progmodes/perl-mode.el
test/lisp/progmodes/cperl-mode-tests.el