On Mi August 15 2007, Paul Pelzl wrote: > I believe it's the change in Remind's date formatting, which would break > Wyrd's parser. I'm hoping to find a few hours to hack on Wyrd tonight, > so you can expect a compatibility release in the near future.
I have attached a simple patch that makes it work again for me, Regards, Till
diff -ru wyrd-1.4.2.orig/remind.ml wyrd-1.4.2/remind.ml
--- wyrd-1.4.2.orig/remind.ml 2007-05-26 04:39:10.000000000 +0200
+++ wyrd-1.4.2/remind.ml 2007-08-17 12:07:19.000000000 +0200
@@ -542,7 +542,7 @@
* should not be able to match them. *)
let find_next msg_regex timestamp =
let rem_regex =
- Str.regexp "^\\([^ ]+\\)/\\([^ ]+\\)/\\([^ ]+\\) [^ ]+ \\([^ ]+\\) [^ ]+ \\([^ ]+\\) \\([^ ]+.*\\)$"
+ Str.regexp "^\\([^ ]+\\)-\\([^ ]+\\)-\\([^ ]+\\) [^ ]+ \\([^ ]+\\) [^ ]+ \\([^ ]+\\) \\([^ ]+.*\\)$"
in
let nodisplay_regex = Str.regexp_case_fold ".*nodisplay" in
let tm1 = Unix.localtime timestamp in
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Remind-fans mailing list [email protected] http://lists.whatexit.org/mailman/listinfo/remind-fans
