Mercurial > jwe > octave
diff libinterp/corefcn/regexp.cc @ 28966:d9d028b479ac
doc: Use @code{} within alternate text for @xref,@pxref macros in libinterp/
* debug.cc, error.cc, qz.cc, regexp.cc, sub2ind.cc:
Use @code{} within alternate text for @xref,@pxref macros.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 19 Oct 2020 09:49:03 -0700 |
parents | bd51beb6205e |
children | 10a35049bad7 |
line wrap: on
line diff
--- a/libinterp/corefcn/regexp.cc Mon Oct 19 09:44:02 2020 -0700 +++ b/libinterp/corefcn/regexp.cc Mon Oct 19 09:49:03 2020 -0700 @@ -1199,7 +1199,8 @@ Search for @var{pat} in UTF-8 encoded @var{str} and return the positions and substrings of any matches, or empty values if there are none. -@xref{XREFregexp,,regexp}, for details on the syntax of the search pattern. +@xref{XREFregexp,,@code{regexp}}, for details on the syntax of the search +pattern. @seealso{regexp} @end deftypefn */) { @@ -1396,7 +1397,7 @@ Replace occurrences of pattern @var{pat} in @var{string} with @var{repstr}. The pattern is a regular expression as documented for @code{regexp}. -@xref{XREFregexp,,regexp}. +@xref{XREFregexp,,@code{regexp}}. All strings must be UTF-8 encoded.