Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6521e9b29c873343a830e9e3c9d1d00bc90b2953
Ticket: 218475ffffffffffffffffffffffffffffffffff
add new options -dictionary or -nocase to lsearch
User & Date: nobody on 2000-10-26 01:01:01
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 662 RFE
    Version: 8.0p2
    SubmitDate: '1998-05-25'
    LastModified: '1999-09-01'
    Severity: LOW
    Status: Released
    Submitter: hershey
    ChangedBy: hobbs
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '1999-09-01'
    FixedInVersion: 8.1
    ClosedDate: '2000-10-25'
    
    
    2301a2302,2303
    > #define DICTIONARY 3
    > #define NOCASE  4
    2306c2308
    <           {"-exact", "-glob", "-regexp", (char *) NULL};
    ---
    >           {"-exact", "-glob", "-regexp", "-dictionary", "-nocase", (char *) NULL};
    2355a2358,2365
    >               break;
    >            case DICTIONARY:
    >            case NOCASE:
    > #if _WINDOWS
    >               match = strnicmp (bytes, patternBytes, length) == 0;
    > #else
    >               match = strncasecmp (bytes, patternBytes, length) == 0;
    > #endif
    
    
    
    lsort has a -dictionary option, and with 8.1 and -regexp, you
    can use the embedded option (?i) to specify case insensitive
    comparisons. 
    -- 09/01/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.0p2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "add new options -dictionary or -nocase to lsearch"
  11. type changed to: "RFE"