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:
parent
23464bfd99
commit
665ce1ebe5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue