changeset 28042:89f3e53e9723

strchr.m: Fix miswording in documentation (bug #57739). * strchr.m: Fix miswording in documentation.
author Rik <rik@octave.org>
date Tue, 04 Feb 2020 11:57:04 -0800
parents 5e44268dca6f
children 711cf9b1be49
files scripts/strings/strchr.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/strings/strchr.m	Mon Feb 03 20:22:19 2020 -0800
+++ b/scripts/strings/strchr.m	Tue Feb 04 11:57:04 2020 -0800
@@ -28,13 +28,13 @@
 ## @deftypefnx {} {@var{idx} =} strchr (@var{str}, @var{chars}, @var{n})
 ## @deftypefnx {} {@var{idx} =} strchr (@var{str}, @var{chars}, @var{n}, @var{direction})
 ## @deftypefnx {} {[@var{i}, @var{j}] =} strchr (@dots{})
-## Search for the string @var{str} for occurrences of characters from
-## the set @var{chars}.
+## Search through the string @var{str} for occurrences of characters from the
+## set @var{chars}.
 ##
 ## The return value(s), as well as the @var{n} and @var{direction} arguments
 ## behave identically as in @code{find}.
 ##
-## This will be faster than using regexp in most cases.
+## This will be faster than using @code{regexp} in most cases.
 ##
 ## @seealso{find}
 ## @end deftypefn