From faa98c849437df254301341a2d83c80d5313c0ec Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Thu, 25 Nov 2021 05:14:19 +0100 Subject: [PATCH] fixed regex not matching --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.go b/utils.go index 2276f29..b611618 100644 --- a/utils.go +++ b/utils.go @@ -39,7 +39,7 @@ var ( rePkgSource = regexp.MustCompile(`(?msU)^source.*=.*\((.+)\)$`) rePkgSum = regexp.MustCompile(`(?msU)^sha256sums.*=.*\((.+)\)$`) rePkgFile = regexp.MustCompile(`^(.+)(?:-.+){2}-(?:x86_64|any)\.pkg\.tar\.zst(?:\.sig)*$`) - reLdError = regexp.MustCompile(`(?mi)^\s*collect2: error: ld returned (\d+) exit status$`) + reLdError = regexp.MustCompile(`(?mi).*collect2: error: ld returned (\d+) exit status.*`) ) type BuildPackage struct {