Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-07-27
09:20 • Closed ticket [1835817fff]: lsearch -match plus 6 other changes artifact: dfc61dd568 user: sf-robot
2009-07-13
01:33 • Pending ticket [1835817fff]. artifact: beac34f224 user: dkf
2007-11-21
14:37 • New ticket [1835817fff]. artifact: 7c96e35344 user: meliorator

lsearch -match

Closed / Wont Fix1835817fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 17 years ago
Descriptionplain2007-11-21 14:37:41
A way to sort of use lsearch in reverse, so you can pass it a list of patterns to match against a string, rather than a list of strings to match pattern
dkfplain2009-07-13 01:33:43
Might be easier to use [switch -glob/-regexp] for that. Or failing that, just trial-match in a loop through the patterns (there's no way to optimize these types of searches anyway).
sf-robotplain2009-07-27 09:20:47
allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.