[Pkg-puppet-devel] Bug#670330: Bug#670330: puppet-el: auto-mode-alist regexp

Russ Allbery rra at debian.org
Tue Apr 24 21:42:36 UTC 2012


Kevin Ryde <user42 at zip.com.au> writes:

> For the puppet-mode auto-mode-alist entry it's usual to write

>     "\\.pp\\'"

> rather than

>     "\\.pp$"

> since the latter can match a newline in the middle of a filename.  Not
> that there ought to be newlines in filenames, but end-of-string is the
> aim.

Confirmed.  This should go upstream (ext/emacs/puppet-mode-init.el) as
well.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>





More information about the Pkg-puppet-devel mailing list