unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: 50281@debbugs.gnu.org
Cc: Maxime Devos <maximedevos@telenet.be>,
	Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#50281] [RFC PATCH] build/jami-service: Fix range ends in account-fingerprint-rx.
Date: Mon, 30 Aug 2021 19:39:35 +0200	[thread overview]
Message-ID: <20210830173935.31933-1-maximedevos@telenet.be> (raw)

This broke compilation of Guix with guile@3.0.2 with:

  In procedure make-regexp: Invalid range end

The fix is to replace [0-9A-f] with [0-9A-Fa-f].
TODO: were both uppercase and lowercase intended, or
only one of the two?

* gnu/build/jami-service.scm
  (account-fingerprint-rx): Correct regexp.
---
 gnu/build/jami-service.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/build/jami-service.scm b/gnu/build/jami-service.scm
index d44e87387d..ddfc8cf937 100644
--- a/gnu/build/jami-service.scm
+++ b/gnu/build/jami-service.scm
@@ -96,7 +96,7 @@ before each retry."
                  (list key value)))
               alist))
 
-(define account-fingerprint-rx (make-regexp "[0-9A-f]{40}"))
+(define account-fingerprint-rx (make-regexp "[0-9A-Fa-f]{40}"))
 
 (define (account-fingerprint? val)
   "A Jami account fingerprint is 40 characters long and only contains
-- 
2.33.0





             reply	other threads:[~2021-08-30 17:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30 17:39 Maxime Devos [this message]
2021-08-30 18:26 ` bug#50281: [RFC PATCH] build/jami-service: Fix range ends in account-fingerprint-rx Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210830173935.31933-1-maximedevos@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=50281@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).