summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-02-28 20:26:25 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-02-28 20:26:25 (GMT)
commit9c8e87a87ae43bb8df1943823f8713fd7ae57f88 (patch)
tree8ee6705277823dd27e70db996120c703fda90e2f /doc
parentb2a0e43c20f9760344b1df76388fb910a4849f3d (diff)
downloadtcl-9c8e87a87ae43bb8df1943823f8713fd7ae57f88.zip
tcl-9c8e87a87ae43bb8df1943823f8713fd7ae57f88.tar.gz
tcl-9c8e87a87ae43bb8df1943823f8713fd7ae57f88.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 2c999ea..5c7d819 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.29 2008/06/29 22:28:24 dkf Exp $
+'\" RCS: @(#) $Id: RegExp.3,v 1.30 2011/01/26 13:18:42 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