From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: dired-move-to-filename-regexp Date: Mon, 20 Sep 2004 16:28:44 -0700 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <7wekkw5xlf.fsf@sic.twinsun.com> References: <414D38E0.4080300@math.ku.dk> <7w8yb6wty1.fsf@sic.twinsun.com> <414E7485.3080103@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095723003 12523 80.91.229.6 (20 Sep 2004 23:30:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2004 23:30:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 21 01:29:49 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9XbR-0004O8-00 for ; Tue, 21 Sep 2004 01:29:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9XhK-0001Ri-PH for ged-emacs-devel@m.gmane.org; Mon, 20 Sep 2004 19:35:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9Xh9-0001Ov-Ep for emacs-devel@gnu.org; Mon, 20 Sep 2004 19:35:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9Xh7-0001M3-02 for emacs-devel@gnu.org; Mon, 20 Sep 2004 19:35:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9Xh6-0001Lv-Ty for emacs-devel@gnu.org; Mon, 20 Sep 2004 19:35:40 -0400 Original-Received: from [198.147.65.9] (helo=alcor.twinsun.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C9XaR-0006xo-MT for emacs-devel@gnu.org; Mon, 20 Sep 2004 19:28:48 -0400 Original-Received: from sic.twinsun.com ([192.54.239.17]) by alcor.twinsun.com (8.12.9/8.12.9) with ESMTP id i8KNSj7w006436; Mon, 20 Sep 2004 16:28:45 -0700 (PDT) Original-Received: from pete.twinsun.com (pete.twinsun.com [192.54.239.43]) by sic.twinsun.com (8.11.7p1+Sun/8.11.7) with SMTP id i8KNSjM27312; Mon, 20 Sep 2004 16:28:45 -0700 (PDT) Original-Received: from sic.twinsun.com ([192.54.239.17]) by pete.twinsun.com (SMSSMTP 4.0.0.59) with SMTP id M2004092016284402745 ; Mon, 20 Sep 2004 16:28:44 -0700 Original-Received: (from eggert@localhost) by sic.twinsun.com (8.11.7p1+Sun/8.11.7) id i8KNSjW27309; Mon, 20 Sep 2004 16:28:45 -0700 (PDT) Original-To: Lars Hansen Original-From: Paul Eggert In-Reply-To: <414E7485.3080103@math.ku.dk> (Lars Hansen's message of "Mon, 20 Sep 2004 08:11:17 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (usg-unix-v) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27356 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27356 Lars Hansen writes: > Yes, I now see it is documented with an example in a comment in > dired-move-to-filename-regexp. > But doesn't the ".*" make the "[0-9][kKMGTPEZY]?" superfluous? No, because the "[0-9][kKMGTPEZY]?" forces the date to be preceded by something that looks like a size. Without it, there would be more false matches of dates within file names, e.g., the file name "foo bar 1 2000 baz" would contain a "date" that looks like "bar 1 2000".