octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52647] missing function: erase (introduced Ma


From: Doug Stewart
Subject: [Octave-bug-tracker] [bug #52647] missing function: erase (introduced Matlab 2016b)
Date: Mon, 25 Dec 2017 22:17:57 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36

Follow-up Comment #15, bug #52647 (project octave):

%!error  <erase: STR2 must be a cell array of strings or a char vector> erase
('Hello World t ',['ld '; 'o '])

Was there when I was working on it.

Matlab treats quotes very differently than octave does. I think that we cannot
be 100% compatible with matlab because of this.

The best compromise that we came up with was to restrict char array, and just
allow char vectors for the match section, and to warn when char arrays were
used for the input str, that trailing spaces might change.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52647>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]