[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why auto-mode-alist's regex ends in \\'

From: Xah
Subject: why auto-mode-alist's regex ends in \\'
Date: Mon, 7 Jul 2008 16:22:27 -0700 (PDT)
User-agent: G2/1.0

By default, auto-mode-alist has a element:

 ("\\.png\\'" . image-mode)

why is it not the following instead?

 ("\\.png$" . image-mode)

I can't see how file name would end in a “'”, but apparently all
regexes there is like that. Emacs's doc node Choosing Modes doesn't
seems to explain this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]