Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a6aff89dde0ce15d7200a51c3444f3ac3dd1d734
Ticket: 218333ffffffffffffffffffffffffffffffffff
scan command %[] behaviour changed
User & Date: nobody on 2000-10-26 00:56:21
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3944 Bug
    Version: 8.3b1
    SubmitDate: '1999-12-27'
    LastModified: '2000-01-03'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows 98
    FixedDate: '2000-10-25'
    ClosedDate: '2000-01-03'
    
    
    Name:
    Tim Baker
    
    ReproducibleScript:
    Under tclsh83:
    
    % set s {""}
    ""
    % scan $s {"%[^"]"} t
    0
    
    ObservedBehavior:
    The %[] format specifier should match 0 or more characters from the set. Under Tcl 8.3b1 it only matches 1 or more.
    
    DesiredBehavior:
    Under tclsh82:
    
    % set s {""}
    ""
    % scan $s {"%[^""]} t
    1
    
    
    
    This is the correct behavior, it was actually 8.2- that had
    the non-scanf style behavior.  This should have been better
    noted in the ChangeLog. 
    -- 01/03/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.3b1"
  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: "scan command %[] behaviour changed"
  11. type changed to: "Bug"