Mercurial > octave
diff libinterp/corefcn/regexp.cc @ 22299:9fc91bb2aec3
doc: grammarcheck documentation for 4.2 release.
* container.txi, contrib.txi, diagperm.txi, errors.txi, external.txi,
func.txi, image.txi, nonlin.txi, numbers.txi, plot.txi, quad.txi, sparse.txi,
strings.txi, tips.txi, var.txi, vectorize.txi, __dispatch__.cc, cellfun.cc,
file-io.cc, gsvd.cc, load-path.cc, regexp.cc, __init_gnuplot__.cc,
__osmesa_print__.cc, qr.cc, xzip.cc, ov-classdef.cc, octave_config_info.m,
grabcode.m, publish.m, dialog.m, condest.m, normest1.m, mkdir.m, ode23.m,
ode45.m, odeplot.m, AbsRel_Norm.m, integrate_adaptive.m, integrate_const.m,
integrate_n_steps.m, axis.m, isocaps.m, isocolors.m, isosurface.m, light.m,
__calc_isovalue_from_data__.m, __marching_cube__.m, cov.m, median.m:
doc: grammarcheck documentation for 4.2 release.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 15 Aug 2016 10:05:50 -0700 |
parents | e43d83253e28 |
children | bac0d6f07a3e |
line wrap: on
line diff
--- a/libinterp/corefcn/regexp.cc Mon Aug 15 12:46:51 2016 +0200 +++ b/libinterp/corefcn/regexp.cc Mon Aug 15 10:05:50 2016 -0700 @@ -682,9 +682,10 @@ @item [@dots{}] [^@dots{}] -List operators. The pattern will match any character listed between "[" -and "]". If the first character is "^" then the pattern is inverted and -any character except those listed between brackets will match. +List operators. The pattern will match any character listed between +@qcode{"["} and @qcode{"]"}. If the first character is @qcode{"^"} then the +pattern is inverted and any character except those listed between brackets +will match. Escape sequences defined below can also be used inside list operators. For example, a template for a floating point number might be @code{[-+.\d]+}. @@ -1345,7 +1346,7 @@ @end example @noindent -returns "Dunn, Bill" +returns @qcode{"Dunn, Bill"} Options in addition to those of @code{regexp} are