Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5f17c3d875d6bc245982320fd264ac501a283863
Ticket: 218298ffffffffffffffffffffffffffffffffff
string match fails for strings containing "["
User & Date: nobody on 2000-10-26 00:55:51
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3559 Bug
    Version: 8.2.1
    SubmitDate: '1999-11-11'
    LastModified: '1999-11-11'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: SunOS
    Machine: x86 solaris, AMD microprocessor
    FixedDate: '2000-10-25'
    ClosedDate: '1999-11-11'
    
    
    Name:
    Jim Russell
    
    ReproducibleScript:
    >From tclsh8.2 command line I typed:
    
    set a {i[0]}
    set b $a
    string match $a $b
    
    ObservedBehavior:
    Setting b to the value of a should result in a successful match when comparing a to b.
    
    DesiredBehavior:
    I would expect the string match to return "1".
    
    
    
    The user didn't account for the glob pattern interpretation
    done by string match. 
    -- 11/11/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.1"
  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: "string match fails for strings containing "[""
  11. type changed to: "Bug"