]> git.eshelyaron.com Git - emacs.git/commit
; perl-mode.el: Detect regexes immediately after "|&"
authorHarald Jörg <haj@posteo.de>
Tue, 8 Jun 2021 21:23:25 +0000 (23:23 +0200)
committerHarald Jörg <haj@posteo.de>
Tue, 8 Jun 2021 21:23:25 +0000 (23:23 +0200)
commit90f54aad5e978653f5a590cdfb68090a0f9a25fc
tree67a8c81503178253413aeb6d94876305fbee4605
parent9625e3026b516cba3117d0096fe33ad7e523482b
; perl-mode.el: Detect regexes immediately after "|&"

* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function):
Add "|&" to the list of characters after which a slash starts a
regular expression (Bug#23992).

* test/lisp/progmodes/cperl-mode-tests.el (cperl-test-ppss):
Correct the docstring.
(cperl-test-bug-23992): New test for Bug#23992.
(cperl-test-bug-42168): Adapt inline comments to the current code.

* test/lisp/progmodes/cperl-mode-resources/cperl-bug-23992.pl:
Resource file with example code from the bug report.
lisp/progmodes/perl-mode.el
test/lisp/progmodes/cperl-mode-resources/cperl-bug-23992.pl [new file with mode: 0644]
test/lisp/progmodes/cperl-mode-tests.el