# HG changeset patch # User Ben Abbott # Date 1409417863 14400 # Node ID f9959972949ab2f4b5b1091b8402c35335ca1fe9 # Parent 1c4994e6696219b09925700834451aa028d0a699 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. diff -r 1c4994e66962 -r f9959972949a doc/interpreter/container.txi --- a/doc/interpreter/container.txi Fri Aug 29 20:44:51 2014 -0700 +++ b/doc/interpreter/container.txi Sat Aug 30 12:57:43 2014 -0400 @@ -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. diff -r 1c4994e66962 -r f9959972949a libinterp/corefcn/strfind.cc --- a/libinterp/corefcn/strfind.cc Fri Aug 29 20:44:51 2014 -0700 +++ b/libinterp/corefcn/strfind.cc Sat Aug 30 12:57:43 2014 -0400 @@ -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; diff -r 1c4994e66962 -r f9959972949a scripts/strings/findstr.m --- a/scripts/strings/findstr.m Fri Aug 29 20:44:51 2014 -0700 +++ b/scripts/strings/findstr.m Sat Aug 30 12:57:43 2014 -0400 @@ -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