From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: another newbie question -- auto-mode-alist regexp Date: Mon, 23 Sep 2002 23:56:57 GMT Organization: Genuity, Woburn, MA Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1032827179 17994 127.0.0.1 (24 Sep 2002 00:26:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 24 Sep 2002 00:26:19 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17tdWr-0004g6-00 for ; Tue, 24 Sep 2002 02:26:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tdWv-0000JM-00; Mon, 23 Sep 2002 20:26:21 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 17 Original-X-Trace: /w3Za+D8VK5BmcjO10G1lEE+ADDYCfmyjy+ux51bOiOfSug4jcdunUwh85VzpCPYz0kHmRku/3FP!FFhq+c79Tm2oCXRyKbo57tA0E6F7FPWx/iDz75ku1yqnQw+3IAMiJj0JkDDohKJWrxQ5gAuRz1EG!8lQ9uVodFHzFAw== Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Mon, 23 Sep 2002 23:56:57 GMT Original-Distribution: world Original-Xref: nntp.stanford.edu gnu.emacs.help:105212 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1767 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1767 In article , Robert P. J. Day 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.