Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ab4f2a0c497d901be89eac1d267c6c0476cd6730
Ticket: 219233ffffffffffffffffffffffffffffffffff
string match oddity when - is the last char
User & Date: nobody on 2000-10-26 05:03:56
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 4438 Bug
    Version: 8.3
    SubmitDate: '2000-03-21'
    LastModified: '2000-04-03'
    Severity: MED
    Status: Assigned
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows 95
    OSVersion: OSR2
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Name:
    Keith Lea
    
    ReproducibleScript:
    % string match {[a-z0-9_/-]} \\
    1
    % string match {[a-z0-9_/]} \\
    0
    
    
    
    It's accidently interp'ing the "/-]" as "/-]]", taking last
    ] as ] endrange and ] endblock. 
    -- 04/03/2000 hobbs
    This needs to be fixed in Tcl_String(Case)Match in tclUtil.c,
    but wait until 8.4 just in case someone was counting on the
    previous perverse behavior. 
    -- 04/03/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.3"
  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: "81. Bundled Packages"
  10. title changed to:
    string match doesn't work as documented when - is the last c
    
  11. type changed to: "Bug"