summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-02-28 20:14:51 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-02-28 20:14:51 (GMT)
commit4cb6cdf65525ebf43c2215a32c92afe5d3cbaccd (patch)
tree98220ec4fcaba951cd4e01c630835969d5154717 /doc
parent53b9e2937065442dd2431deb31a3dd31d0b5d81b (diff)
downloadtcl-4cb6cdf65525ebf43c2215a32c92afe5d3cbaccd.zip
tcl-4cb6cdf65525ebf43c2215a32c92afe5d3cbaccd.tar.gz
tcl-4cb6cdf65525ebf43c2215a32c92afe5d3cbaccd.tar.bz2
* doc/RegExp.3: [Bug 3165108]: Corrected documentation of description
of subexpression info in Tcl_RegExpInfo structure.
Diffstat (limited to 'doc')
-rw-r--r--doc/RegExp.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/RegExp.3 b/doc/RegExp.3
index 4383d98..db8362e 100644
--- a/doc/RegExp.3
+++ b/doc/RegExp.3
@@ -6,7 +6,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.3,v 1.28 2007/12/13 15:22:31 dgp Exp $
+'\" RCS: @(#) $Id: RegExp.3,v 1.28.2.1 2011/01/26 13:21:17 dkf Exp $
'\"
.so man.macros
.TH Tcl_RegExpMatch 3 8.1 Tcl "Tcl Library Procedures"
@@ -348,7 +348,7 @@ typedef struct Tcl_RegExpInfo {
The \fInsubs\fR field contains a count of the number of parenthesized
subexpressions within the regular expression. If the \fBTCL_REG_NOSUB\fR
was used, then this value will be zero. The \fImatches\fR field
-points to an array of \fInsubs\fR values that indicate the bounds of each
+points to an array of \fInsubs\fR+1 values that indicate the bounds of each
subexpression matched. The first element in the array refers to the
range matched by the entire regular expression, and subsequent elements
refer to the parenthesized subexpressions in the order that they