Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ffa5612401edbb30ef2830366dd108f7e1fb4339
Ticket: 689652ffffffffffffffffffffffffffffffffff
lsearch fuller functionality
User & Date: dkf on 2003-02-27 23:31:54
Changes

  1. closedate changed to: "2003-02-27T16:31:54"
  2. closer changed to: "dkf"
  3. icomment:
    Logged In: YES 
    user_id=79902
    
    You *can't* mix glob matching and specialised sorting
    handling.  This is because you can only tell whether a glob
    pattern matches or not, and not whether there cannot be a
    match before the given entry because of that.  Consider the
    glob pattern *[abyz]?[cdx]* - how could you even begin to
    combine that with an ordering criterion?!
    
    Similar problems with -regexp, of course.
    
    With -all, you have a similar thing in that it is really
    designed for use with -glob and -regexp.  Is the case of an
    exact search of sorted non-unique list all that common?
    
    Maybe could do with a new -prefix option; prefix matching
    *would* be compatible with -sorted.  Backwards searching
    would be another nice feature.  Please open a new FRQ or
    submit a TIP if you want to take them further.
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. username: "dkf"