[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53095] strsplit fails to split a string with
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character) |
Date: |
Tue, 13 Feb 2018 12:17:38 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #12, bug #53095 (project octave):
@Philip: could you test
s = regexprep ('A,A', 'A', 'B\000B')
double (s)
in Matlab 2018a?
I got a report that--contrary to comment #9--the output is
ans =
66 0 66 44 66 0 66
This was with Matlab 2015b.
In fact, the above is what I would expect. This is what Octave gives as well
if the pattern is enclosed in double quotes. This probably means the octal
escape sequences are not being processed properly for the replacement string
in regexprep.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53095>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), (continued)
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Avinoam Kalma, 2018/02/09
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Dmitri A. Sergatskov, 2018/02/09
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/11
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Anushi Maheshwari, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Philip Nienhuis, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Anushi Maheshwari, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Michael Godfrey, 2018/02/12
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character),
Rik <=
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Anushi Maheshwari, 2018/02/13
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/13
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Rik, 2018/02/13