octave-maintainers
[Top][All Lists]
Advanced

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

Re: strsplit needs an update


From: Jordi Gutiérrez Hermoso
Subject: Re: strsplit needs an update
Date: Wed, 27 Mar 2013 14:19:10 -0400

On 27 March 2013 14:07, Ben Abbott <address@hidden> wrote:
> On Mar 27, 2013, at 12:50 PM, Jordi Gutiérrez Hermoso wrote:
>
>> So this is why it's always an annoyance to try to implement something
>> before Matlab... We've had strsplit since 2009 in Octave, and in 2013,
>> TMW finally implements it themselves, with a differing calling form
>> than ours:
>>
>>    http://www.mathworks.com/help/matlab/ref/strsplit.html
>>
>> Anyone feel like chasing after this?
>
> Looks like a wrapper around regexp.
>
>         [c, matches] = strsplit (str, delimiter, name,  value)
>
>         [c, matches] = regexp (str, delimiter, 'split', name, value);
>
> Any info on what "name", "value" pairs are supported?

They list two options further down, "CollapsibleDelimiters" and
"DelimiterType". Looks like TMW is finally deciding to uniformise
passing options to all functions with this ersatz named parameter
method. I wonder if this means they'll kill optimset and odeset.

- Jordi G. H.


reply via email to

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