* riece-log.el (riece-log-flashback): Fixed regexp.
authorueno <ueno>
Sun, 12 Dec 2004 02:15:03 +0000 (02:15 +0000)
committerueno <ueno>
Sun, 12 Dec 2004 02:15:03 +0000 (02:15 +0000)
lisp/ChangeLog
lisp/riece-log.el

index e0f1618..40505a2 100644 (file)
@@ -1,5 +1,7 @@
 2004-12-12  Daiki Ueno  <ueno@unixuser.org>
 
+       * riece-log.el (riece-log-flashback): Fixed regexp.
+
        * riece-menu.el (riece-menu-items): Add "Next Channel" and
        "Previous Channel".
 
index 6d882fb..8c37673 100644 (file)
@@ -217,8 +217,10 @@ If LINES is t, insert today's logs entirely."
                (buffer-string)))
       (goto-char point)
       (while (re-search-forward
-             "^[0-9][0-9]:[0-9][0-9] [<>]\\([^<>]+\\)[<>] " nil t)
-       (put-text-property (match-beginning 1) (match-end 1)
+             (concat "^" riece-time-prefix-regexp
+                      "\\(<[^>]+>\\|>[^<]+<\\|([^)]+)\\|{[^}]+}\\|=[^=]+=\\)")
+             nil t)
+       (put-text-property (1+ (match-beginning 1)) (1- (match-end 1))
                           'riece-identity
                           (riece-make-identity
                            (riece-match-string-no-properties 1)