emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Regexps matching dates
@ 2007-05-22  1:00 Bastien
  2007-05-22  7:09 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Bastien @ 2007-05-22  1:00 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regexps matching dates
  2007-05-22  1:00 Regexps matching dates Bastien
@ 2007-05-22  7:09 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2007-05-22  7:09 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-23  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22  1:00 Regexps matching dates Bastien
2007-05-22  7:09 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).