GNU bug report logs - #49813
[PATCH 00/34] Fix regexes in FIND-FILES invocations.

Previous Next

Package: guix-patches;

Reported by: Sarah Morgensen <iskarian <at> mgsn.dev>

Date: Sun, 1 Aug 2021 21:17:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Enge <andreas <at> enge.fr>
To: Sarah Morgensen <iskarian <at> mgsn.dev>
Cc: 49813 <at> debbugs.gnu.org, Maxime Devos <maximedevos <at> telenet.be>
Subject: [bug#49813] [PATCH 04/34] gnu: tao: Fix regex in FIND-FILES invocation.
Date: Tue, 1 Apr 2025 18:50:18 +0200
Hello,

I just come across this issue using the latest "tag:team-science"
feature on issues.guix.gnu.org.

As an example, I looked at the scotch package. It apparently has changed
sufficiently such that the patch does not apply any more. Also, it would
not necessarily "correct" regexps. As I understand it, ".*" at the
beginning or the end of a regexp have no consequence, and dropping them
makes the code more beautiful, but not more correct.
Replacing "\.*h" by "\.h$" matches fewer files in principle, but this may
or may not be the case for a given package.

So I would suggest to close this issue unless we have cases where a real
problem occurs.

Andreas





This bug report was last modified 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.