GNU bug report logs - #30869
regexp-substitute/global does not like #\nul in string

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Matt Wette <matt.wette@HIDDEN>; dated Tue, 20 Mar 2018 01:20:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Mar 2018 01:19:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 19 21:19:45 2018
Received: from localhost ([127.0.0.1]:42421 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ey5wH-0005ER-Fx
	for submit <at> debbugs.gnu.org; Mon, 19 Mar 2018 21:19:45 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34009)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <matt.wette@HIDDEN>) id 1ey5wF-0005EE-CN
 for submit <at> debbugs.gnu.org; Mon, 19 Mar 2018 21:19:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <matt.wette@HIDDEN>) id 1ey5w6-00007Z-BM
 for submit <at> debbugs.gnu.org; Mon, 19 Mar 2018 21:19:38 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54350)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <matt.wette@HIDDEN>)
 id 1ey5w6-00007R-7U
 for submit <at> debbugs.gnu.org; Mon, 19 Mar 2018 21:19:34 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53194)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <matt.wette@HIDDEN>) id 1ey5w5-0003xj-5S
 for bug-guile@HIDDEN; Mon, 19 Mar 2018 21:19:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <matt.wette@HIDDEN>) id 1ey5w1-0008W7-Vm
 for bug-guile@HIDDEN; Mon, 19 Mar 2018 21:19:33 -0400
Received: from mail-pl0-x230.google.com ([2607:f8b0:400e:c01::230]:36657)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <matt.wette@HIDDEN>)
 id 1ey5w1-0008VO-P1
 for bug-guile@HIDDEN; Mon, 19 Mar 2018 21:19:29 -0400
Received: by mail-pl0-x230.google.com with SMTP id 61-v6so11397918plf.3
 for <bug-guile@HIDDEN>; Mon, 19 Mar 2018 18:19:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-transfer-encoding:content-language;
 bh=4HygmLFK3bPThs0t7vNnivByNLUmhjx4qrlbq6RyLQw=;
 b=fECr78mAJwJnBo3z22OKe6RQqXe411+6RM6S0k18lcJKmaRTYtNXKaKh3gSCcnCyJT
 An6ESJoGO80kHugXguptCfRDlSwvlsFDPRrKfFlsuaAPNl8rT5uuJvGW1UVOL8VDd3V3
 gQtCb1N7oX7NVL2viAgA98qlAPh2mbF6z6HgLxik4a20/EDoNE4jmDSYSpcqM3A1YG1j
 l2HE/f6B9Th8VUdeX2lYHeR5HgXGgVHgb0aysdvGFqBUUn8Oo3rCAbAkYiwJEPSUW1wt
 8WzYkyUO3jhHPjOUwlE+zmh9jmrDUfhwakRcuqOOJjRmdX1475JnQy293E9Qx6ECHnvd
 kgVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-transfer-encoding:content-language;
 bh=4HygmLFK3bPThs0t7vNnivByNLUmhjx4qrlbq6RyLQw=;
 b=g31/uA3GQwbD1DqF6bqqtYwuiIlaFwbGlQ4Lw5Vd1jylX5q8xm1iPzG+bW8UiEzAbW
 v9gyrOnqA+vVWLtKUFGowTVsMdtW3HxYSuSvOTGt4mOdnuCUvrYfwJRIOavUWrs3jmE+
 QmcSXG60tfuopv1BxqVtdTR7eJ7I1bQIRmPuVILSGvTqBDbRuPKwgt0086GYaUA42UFa
 3k5qeRRvoij3v+4nIWHNBbLbPBFuHCGxQqpe96mpNmZUbi6UV7pa+qL5VXwWAANHFTyE
 km6AFqguxFWVjKk5n7lCu2KXXbDMk/yM6vwYVLhByq5UEDb18e666z+l4uFa27r1vs2u
 2DdQ==
X-Gm-Message-State: AElRT7HMoY7zm+Q1eJ6T/4ZO5KyvsfLyefajJKEKR4du7n1D+lXpUQ5s
 HnU8KY/SxO4dP2jygmYIvr4RN0N3
X-Google-Smtp-Source: AG47ELs3Kw+gpRslfoHsou9m7rbXqlD/QlrNZ2yLPYWUszPMC3JPixxYhJOdQ+/ZnV0CVtCwKJy27Q==
X-Received: by 2002:a17:902:5588:: with SMTP id
 g8-v6mr14144344pli.73.1521508768208; 
 Mon, 19 Mar 2018 18:19:28 -0700 (PDT)
Received: from [192.168.2.183] (216-165-229-229.championbroadband.com.
 [216.165.229.229])
 by smtp.gmail.com with ESMTPSA id r16sm540039pfj.111.2018.03.19.18.19.27
 for <bug-guile@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 19 Mar 2018 18:19:27 -0700 (PDT)
To: bug-guile@HIDDEN
From: Matt Wette <matt.wette@HIDDEN>
Subject: regexp-substitute/global does not like #\nul in string
Message-ID: <a7265598-9fba-2458-ad30-49f12508a023@HIDDEN>
Date: Mon, 19 Mar 2018 18:19:26 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

version = 2.2.3

I think this is a bug: regexp-substitute/global rejects strings with #\nul:

scheme@(guile-user)> (regexp-substitute/global #f "b.d" "ab\x00de" 'pre 
'post)
ERROR: In procedure regexp-exec:
string contains #\nul character: "ab\x00de"








Acknowledgement sent to Matt Wette <matt.wette@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#30869; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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