[Top][All Lists]

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

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

From: Rik
Subject: [Octave-bug-tracker] [bug #52647] missing function: erase (introduced Matlab 2016b)
Date: Mon, 25 Dec 2017 21:56:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

@Doug: What is the answer from Matlab for

erase('this is it',['this';'is']) 

If I had to guess, I think the pattern char matrix would be expanded to
['this'; 'is  ']).  The word 'this' will match, but 'is  ' will not, so the
final answer is ' is it'.

Unless of course Matlab is trimming whitespace in patterns, in which case
cellstr rather than mat2cell would be appropriate, but only for patterns.

Also, there was no BIST test for this configuration so no way to know that we
had changed behavior.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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