diff libinterp/corefcn/regexp.cc @ 24986:0b9e7fcaab91 stable

doc: grammarcheck docstrings in C++ files ahead of 4.4 release. * defaults.cc, dirfns.cc, load-save.cc, pr-flt-fmt.cc, quadcc.cc, regexp.cc, qr.cc: Use Octave conventions in documentation strings.
author Rik <rik@octave.org>
date Fri, 23 Mar 2018 10:29:45 -0700
parents 6e670c58c6f0
children 6652d3823428
line wrap: on
line diff
--- a/libinterp/corefcn/regexp.cc	Fri Mar 23 10:10:52 2018 -0700
+++ b/libinterp/corefcn/regexp.cc	Fri Mar 23 10:29:45 2018 -0700
@@ -861,6 +861,7 @@
 are zero or more @qcode{'b'} characters at positions 1 and end-of-string.
 
 @end table
+
 Stack Limitation Note: Pattern searches are done with a recursive function
 which can overflow the program stack when there are a high number of matches.
 For example,
@@ -869,6 +870,7 @@
 @code{regexp (repmat ('a', 1, 1e5), '(a)+')}
 @end example
 
+@noindent
 may lead to a segfault.  As an alternative, consider constructing pattern
 searches that reduce the number of matches (e.g., by creatively using set
 complement), and then further processing the return variables (now reduced in