From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Regexps matching dates Date: Tue, 22 May 2007 09:09:28 +0200 Message-ID: <3d9d04a439092d023c716e67894d3d6b@science.uva.nl> References: <873b1pvfig.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HqluR-0000kv-VO for emacs-orgmode@gnu.org; Wed, 23 May 2007 04:09:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HqluO-0000kD-LJ for emacs-orgmode@gnu.org; Wed, 23 May 2007 04:09:27 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqluO-0000jw-5E for emacs-orgmode@gnu.org; Wed, 23 May 2007 04:09:24 -0400 Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HqluM-00044g-RG for emacs-orgmode@gnu.org; Wed, 23 May 2007 04:09:23 -0400 Received: by ug-out-1314.google.com with SMTP id 34so465013ugf for ; Wed, 23 May 2007 01:09:14 -0700 (PDT) In-Reply-To: <873b1pvfig.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org The regular expressions for time stamps allow for some freedom after the actual date to cater for localized weekdays. Hmmm, I guess I could require the space... Will give that a try. - Carsten On May 22, 2007, at 3:00, Bastien wrote: > Hi list, > > i guess the regexps matching for dates are sometimes a bit liberal. > Try > for example these three lines : > > 2007-12-12-back.jpg > [2007-12-12-back.jpg] > [[file:2007-12-12-back.jpg][2007-12-12-back.jpg]] > > First line is okay. But the second line is fontified as a date and the > third line gets the same treatment instead of being fontified as a > link. > > -- > Bastien > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477