Mercurial > hg > octave-nkf
changeset 19254:f9959972949a
Remove references to deprecated strmatch function.
* doc/interpreter/container.txi: Remove from data container portion of the
manual.
* libinterp/corefcn/strfind.cc: Remove from doc-string.
* scripts/strings/findstr.m: Remove from doc-string.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 30 Aug 2014 12:57:43 -0400 |
parents | 1c4994e66962 |
children | f984fc55a825 |
files | doc/interpreter/container.txi libinterp/corefcn/strfind.cc scripts/strings/findstr.m |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/container.txi +++ b/doc/interpreter/container.txi @@ -891,8 +891,8 @@ Strings}), @code{strcmp}, @code{strncmp}, @code{strcmpi}, @code{strncmpi} (@pxref{Comparing Strings}), @code{str2double}, @code{deblank}, @code{strtrim}, @code{strtrunc}, @code{strfind}, -@code{strmatch}, , @code{regexp}, @code{regexpi} (@pxref{Manipulating -Strings}) and @code{str2double} (@pxref{String Conversions}). +@code{regexp}, @code{regexpi} (@pxref{Manipulating Strings}) and +@code{str2double} (@pxref{String Conversions}). The function @code{iscellstr} can be used to test if an object is a cell array of strings.
--- a/libinterp/corefcn/strfind.cc +++ b/libinterp/corefcn/strfind.cc @@ -185,7 +185,7 @@ @}\n\ @end group\n\ @end example\n\ -@seealso{findstr, strmatch, regexp, regexpi, find}\n\ +@seealso{findstr, regexp, regexpi, find}\n\ @end deftypefn") { octave_value retval;
--- a/scripts/strings/findstr.m +++ b/scripts/strings/findstr.m @@ -35,7 +35,7 @@ ## ## @strong{Caution:} @code{findstr} is scheduled for deprecation. Use ## @code{strfind} in all new code. -## @seealso{strfind, strmatch, strcmp, strncmp, strcmpi, strncmpi, find} +## @seealso{strfind, strcmp, strncmp, strcmpi, strncmpi, find} ## @end deftypefn ## Note that this implementation swaps the strings if second one is longer