Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a375bd724d0ea320c6fd6ced46a80bdf918d24c0
Ticket: 1507938fffffffffffffffffffffffffffffffff
array names -exact option malfunction
User & Date: blacksqr on 2006-06-17 23:04:33
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The -exact option of the "array names" command
    malfunctions if there is an asterisk in the array
    element name:
    
    % array set test1 "name* value1"
    % array set test1 "name value2"
    % array get test1
    name value2 name* value1
    % array names -exact test1 name* ; # expect "name*" ,
    get empty string
    % array names test1 name\\*
    name*
    
    ------
    
    As a general principal, I would like to be able to use
    arbitrary inputs as array element names, without having
    to have to escape out glob characters to get the values
    I want; that means I wish there were a functioning
    "-exact" option for the array "get" and "unset"
    commands as well as for "names"
    
  4. foundin changed to: "obsolete: 8.4.7"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "blacksqr"
  9. subsystem changed to: "07. Variables"
  10. title changed to: "array names -exact option malfunction"
  11. type changed to: "Bug"