[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: |
Anushi Maheshwari |
Subject: |
[Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character) |
Date: |
Mon, 12 Feb 2018 04:56:03 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 |
Follow-up Comment #5, bug #53095 (project octave):
@Rik I tried running this in Octave and it is still returning same error as
previous.
error: regexp: missing ) at position 1 of expression
error: called from
strsplit at line 212 column 19
Also, to my suprise I have noted different behaviour of regexp
str='abc';
delim= '(())';
s=regexp(str, delim, 'split', 'match')
% Return Output
s=
{
[1,1] = abc
}
str='abc';
delim='(()';
regexp(str, delim, 'split', 'match');
% Throws error
error: regexp: missing ) at position 3 of expression
_______________________________________________________
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), anonymous, 2018/02/08
- [Octave-bug-tracker] [bug #53095] strsplit fails to split a string with a delimiter of '\n' (null character), Philip Nienhuis, 2018/02/09
- [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 <=
- [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, 2018/02/13
- [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