guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: emacs: build-log: Improve regexp for the phase end.


From: Alex Kost
Subject: 01/01: emacs: build-log: Improve regexp for the phase end.
Date: Fri, 25 Sep 2015 07:46:49 +0000

alezost pushed a commit to branch master
in repository guix.

commit 665ce1ebe548c71e9da54caeb62eca5f9f588d4d
Author: Alex Kost <address@hidden>
Date:   Thu Sep 24 16:10:14 2015 +0300

    emacs: build-log: Improve regexp for the phase end.
    
    * emacs/guix-build-log.el (guix-build-log-phase-end-regexp): Handle
      fractional number of seconds (like "0.8").
---
 emacs/guix-build-log.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/emacs/guix-build-log.el b/emacs/guix-build-log.el
index 6faa37c..9ce30bd 100644
--- a/emacs/guix-build-log.el
+++ b/emacs/guix-build-log.el
@@ -141,7 +141,7 @@ STATE is a symbol denoting how a build phase was ended.  It 
should be
     (rx-to-string
      `(and bol "phase " (regexp ,guix-build-log-phase-name-regexp)
            " " (group (regexp ,state-rx)) " after "
-           (group (1+ digit)) " seconds")
+           (group (1+ (or digit "."))) " seconds")
      t)))
 
 (defvar guix-build-log-phase-end-regexp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]