summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog26
-rw-r--r--doc/RegExp.34
2 files changed, 18 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 66eddea..facd0aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,25 +1,31 @@
+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/tclCkalloc.c: [Bug 3129448]: Possible over-allocation on 64-bit
- * generic/tclHash.c: platforms, part 2, backported strcpy->memcpy
- * generic/tclProc.c change but not change in any struct.
+ * generic/tclCkalloc.c: [Bug 3129448]: Possible over-allocation on
+ * generic/tclHash.c: 64-bit platforms, part 2, backported
+ * generic/tclProc.c: strcpy->memcpy change but not change in any
+ struct.
2011-01-19 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
- * generic/tclExecute.c: Backport of Miguel's 2010-09-22 fix on 8.6
- branch (decache stack info wherever ::errorInfo may be updated,
- for trace sanity). [Bug 3138178]
+ * generic/tclExecute.c: [Bug 3138178]: Backport of Miguel's 2010-09-22
+ fix on 8.6 branch (decache stack info wherever ::errorInfo may be
+ updated, for trace sanity).
2011-01-19 Jan Nijtmans <nijtmans@users.sf.net>
* tools/genStubs.tcl: Make sure to use CONST/VOID in stead of
- * generic/tclIntDecls.h const/void when appropriate. This allows to
- * generic/tclIntPlatDecls.h use const/void in the *.decls file always,
- * generic/tclTomMathDecls.h genStubs will do the right thing.
+ * generic/tclIntDecls.h: const/void when appropriate. This allows to
+ * generic/tclIntPlatDecls.h:use const/void in the *.decls file always,
+ * generic/tclTomMathDecls.h:genStubs will do the right thing.
2011-01-18 Jan Nijtmans <nijtmans@users.sf.net>
- * generic/tclBasic.c: Various mismatches between Tcl_Panic
+ * generic/tclBasic.c: Various mismatches between Tcl_Panic
* generic/tclCompCmds.c: format string and its arguments,
* generic/tclCompExpr.c: discovered thanks to [Bug 3159920]
* generic/tclPreserve.c: (Backported)
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