Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2011-01-26
20:21 • Closed ticket [3165108fff]: A mistake in the manual of Tcl_RegExpInfo plus 8... artifact: a663e2ada9 user: dkf
2011-01-25
07:42 • New ticket [3165108fff]. artifact: 4f7f859968 user: starwalker2000

A mistake in the manual of Tcl_RegExpInfo

Closed / Fixed3165108fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2011-01-25 07:42:26
There is a description as follows in the manual of Tcl_RegExpInfo:
The matches field points to an array of nsubs values that indicate the bounds of each subexpression matched. 

In fact, the array of matches field has nsubs + 1 elements which the first element in the array refers to the range matched by the entire regular expression, and the next nsubs elements refer to the parenthesized subexpressions in the order that they appear in the pattern.
dkfplain2011-01-26 20:21:58
allow_comments - 1
Log in (anonymous is fine) to add a comment.