From 796148cf9b53e0d1f63c0e3c5a4beaa8bf2672d8 Mon Sep 17 00:00:00 2001 From: teranisi Date: Wed, 4 Oct 2000 03:21:46 +0000 Subject: [PATCH] 2000-10-03 Hiroya Murata * elmo-util.el (elmo-condition-parse-search-value): Fixed date parsing. --- elmo/ChangeLog | 5 +++++ elmo/elmo-util.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index d498584..0168bdf 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,8 @@ +2000-10-03 Hiroya Murata + + * elmo-util.el (elmo-condition-parse-search-value): + Fixed date parsing. + 2000-10-03 Yuuichi Teranishi * elmo-util.el (elmo-condition-find-key-internal): New function. diff --git a/elmo/elmo-util.el b/elmo/elmo-util.el index 4decd8f..56f95b1 100644 --- a/elmo/elmo-util.el +++ b/elmo/elmo-util.el @@ -598,8 +598,8 @@ Return value is a cons cell of (STRUCTURE . REST)" ((or (looking-at "yesterday") (looking-at "lastweek") (looking-at "lastmonth") (looking-at "lastyear") (looking-at "[0-9]+ *daysago") - (looking-at "[0-9]+") (looking-at "[0-9]+-[A-Za-z]+-[0-9]+") + (looking-at "[0-9]+") (looking-at "[^/ \")|&]*") ; atom* (except quoted specials). ) (prog1 (elmo-match-buffer 0) -- 1.7.10.4