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").
This commit is contained in:
Alex Kost 2015-09-24 16:10:14 +03:00
parent 23464bfd99
commit 665ce1ebe5
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ STATE is a symbol denoting how a build phase was ended. It should be
(rx-to-string (rx-to-string
`(and bol "phase " (regexp ,guix-build-log-phase-name-regexp) `(and bol "phase " (regexp ,guix-build-log-phase-name-regexp)
" " (group (regexp ,state-rx)) " after " " " (group (regexp ,state-rx)) " after "
(group (1+ digit)) " seconds") (group (1+ (or digit "."))) " seconds")
t))) t)))
(defvar guix-build-log-phase-end-regexp (defvar guix-build-log-phase-end-regexp