summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog10
-rw-r--r--doc/RegExp.34
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3309076..02af7dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,13 @@
+2011-01-26 Donal K. Fellows <dkf@users.sf.net>
+
+ * doc/RegExp.3: [Bug 3165108]: Corrected documentation of description
+ of subexpression info in Tcl_RegExpInfo structure.
+
2011-01-25 Jan Nijtmans <nijtmans@users.sf.net>
- * generic/tclPreserve.c: Don't miss 64-bit address bits in panic message.
- * win/tclWinChan.c: Fix various gcc-4.5.2 64-bit warning messages,
+ * generic/tclPreserve.c: Don't miss 64-bit address bits in panic
+ message.
+ * win/tclWinChan.c: Fix various gcc-4.5.2 64-bit warning messages
* win/tclWinConsole.c e.g. by using full 64-bits for socket fd's
* win/tclWinDde.c
* win/tclWinPipe.c
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