changeset 14215:103ec2ea6914

doc: Mention correct replacements for to-be-deprecated strmatch.m strmatch.m: Mention correct replacements for to-be-deprecated strmatch.m
author Rik <octave@nomad.inbox5.com>
date Wed, 18 Jan 2012 21:15:46 -0800
parents 2fe0f5fa8cc3
children b3730ed107a6
files scripts/strings/strmatch.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/strings/strmatch.m
+++ b/scripts/strings/strmatch.m
@@ -26,7 +26,6 @@
 ## array of strings.  If the third argument @code{"exact"} is not given, then
 ## @var{s} only needs to match @var{A} up to the length of @var{s}.
 ## Trailing spaces and nulls in @var{s} and @var{A} are ignored when matching.
-## option.
 ##
 ## For example:
 ##
@@ -44,7 +43,8 @@
 ## @end example
 ##
 ## @strong{Caution:} @code{strmatch} is scheduled for deprecation.  Use
-## @code{strcmpi} or @code{strncmpi} in all new code.
+## @code{strncmp} (normal case), or @code{strcmp} ("exact" case), or
+## @code{regexp} in all new code.
 ## @seealso{strfind, findstr, strcmp, strncmp, strcmpi, strncmpi, find}
 ## @end deftypefn