Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4ae03ebd5e165e40b892886b2b8f4a7514200dc5b8ccdcf4a63a9cc0f0bda4c0
Ticket: 219233ffffffffffffffffffffffffffffffffff
string match oddity when - is the last char
User & Date: dgp on 2018-05-07 16:19:56
Changes

  1. closer changed to: "nobody"
  2. 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
    
  3. icomment:
    
    
    "Wait until 9.0" is no longer a blockage.
    
    This should be fixed at least on the trunk, if not
    on earlier branches too.
    
  4. login: "dgp"
  5. mimetype: "text/plain"
  6. priority changed to: "7 High"
  7. resolution changed to: "Remind"
  8. severity changed to: "Minor"