diff options
Diffstat (limited to 'doc/regexp.n')
-rw-r--r-- | doc/regexp.n | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/regexp.n b/doc/regexp.n index 99e75f3..4aa88e2 100644 --- a/doc/regexp.n +++ b/doc/regexp.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: regexp.n,v 1.20 2007/10/24 14:29:39 dkf Exp $ +'\" RCS: @(#) $Id: regexp.n,v 1.21 2007/10/25 09:25:27 dkf Exp $ '\" .so man.macros .TH regexp n 8.3 Tcl "Tcl Built-In Commands" @@ -114,12 +114,15 @@ list will be concatenated at each iteration, such that a flat list is always returned. For each match iteration, the command will append the overall match data, plus one element for each subexpression in the regular expression. Examples are: +.RS .CS - regexp -inline -- {\\w(\\w)} " inlined " - => {in n} - regexp -all -inline -- {\\w(\\w)} " inlined " - => {in n li i ne e} +.ta 2i +\fBregexp\fR -inline -- {\\w(\\w)} " inlined " + \fB\(->\fI in n\fR +\fBregexp\fR -all -inline -- {\\w(\\w)} " inlined " + \fB\(->\fI in n li i ne e\fR .CE +.RE .TP 15 \fB\-start\fR \fIindex\fR Specifies a character index offset into the string to start |