Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3d6ab63d0d6c1687279a3e9b5a0668f49200ef5a
Ticket: 1367506fffffffffffffffffffffffffffffffff
Inline scan returns too many items
User & Date: sbron on 2005-12-02 23:32:14
Changes

  1. icomment:
    Logged In: YES 
    user_id=37987
    
    That next line refers to the fact that [scan "" %d.%d.%d.%d]
    returns an empty string and not a list of four empty
    strings. That is actually consistent with the expected
    result I described.
    
    The only situation that is inconsistent is a partial match.
    I have seen the code and noticed that it intentionally adds
    empty list entries. But that doesn't automatically make it
    the right thing to do.
    
    I do realize that this is unlikely to be changed because
    that might break existing code that accounts for the current
    behavior. So probably the only thing that can be done now is
    to warn people about this illogical behavior in the manual page.
    
    
    
  2. login: "sbron"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "sbron"