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

Previous Next

Package: guile;

Reported by: Matt Wette <matt.wette <at> gmail.com>

Date: Tue, 20 Mar 2018 01:20:01 UTC

Severity: normal

To reply to this bug, email your comments to 30869 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#30869; Package guile. (Tue, 20 Mar 2018 01:20:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Wette <matt.wette <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Tue, 20 Mar 2018 01:20:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matt Wette <matt.wette <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: regexp-substitute/global does not like #\nul in string
Date: Mon, 19 Mar 2018 18:19:26 -0700
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"








This bug report was last modified 7 years and 86 days ago.

Previous Next


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