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

Full log


View this message in rfc822 format

From: Matt Wette <matt.wette <at> gmail.com>
To: 30869 <at> debbugs.gnu.org
Subject: bug#30869: 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 87 days ago.

Previous Next


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