Substitute inside [switch -regexp] body
Closed / Accepted550797ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 22 years ago
Descriptionplain2002-04-30 21:38:57
It would be nice if it was possible to pick matched strings (or the submatches) when using [switch -regexp]. At the moment, you need to rematch the regular expression with [regexp] to get what was matched, which is distinctly inefficient.
dkf Ticket [550797ffff]: 1 change
[History diff]2002-05-01 04:47:49
dgp Ticket [550797ffff]: 1 change
[History diff]2003-11-13 05:59:50
dkfplain2004-06-16 05:00:50
Logged In: YES user_id=79902 Subsumed by TIP#75 which is implemented in Tcl 8.5
Log in (anonymous is fine) to add a comment.