help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: another newbie question -- auto-mode-alist regexp


From: Barry Margolin
Subject: Re: another newbie question -- auto-mode-alist regexp
Date: Mon, 23 Sep 2002 23:56:57 GMT

In article <mailman.1032823999.4821.help-gnu-emacs@gnu.org>,
Robert P. J. Day <rpjday@mindspring.com> wrote:
>never mind, i finally found it in the elisp info manual.
>apparently, \' matches the empty string, but only at the end
>of the buffer or string being matched.
>
>so, AFAICT, it appears to serve the same purpose as a trailing
>$ to match end of string.

$ also matches the end of a line.  If you ever encounter a filename
containing an embedded newline, it would make a difference.

-- 
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


reply via email to

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