aboutsummaryrefslogtreecommitdiff
path: root/guix-qa-frontpage/patchwork.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-11-10 10:17:34 +0000
committerChristopher Baines <mail@cbaines.net>2022-11-10 10:17:34 +0000
commita75001d2957535d6d7a30a7a3589b1e8b2a3153e (patch)
tree1021124a29fcb50303700ada1d8cdd69f8c72d43 /guix-qa-frontpage/patchwork.scm
parent0072112a6a9be1f435c4333c807d247c6b9d090d (diff)
downloadqa-frontpage-a75001d2957535d6d7a30a7a3589b1e8b2a3153e.tar
qa-frontpage-a75001d2957535d6d7a30a7a3589b1e8b2a3153e.tar.gz
Improve the bug number regex
Diffstat (limited to 'guix-qa-frontpage/patchwork.scm')
-rw-r--r--guix-qa-frontpage/patchwork.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-qa-frontpage/patchwork.scm b/guix-qa-frontpage/patchwork.scm
index cd5bc26..fedf849 100644
--- a/guix-qa-frontpage/patchwork.scm
+++ b/guix-qa-frontpage/patchwork.scm
@@ -113,7 +113,7 @@
(define (patch->issue-number patch)
(string->number
(match:substring
- (string-match "\\[bug#([0-9]*).*\\]"
+ (string-match "\\[?bug#([0-9]*)(,|:|\\])"
(assoc-ref patch "name"))
1)))