Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ac86c60f87e9ff39906d241261a9410fd689a517
Ticket: 1230253fffffffffffffffffffffffffffffffff
match array
User & Date: elfring on 2005-07-02 14:45:48
Changes

  1. assignee changed to: "msofer"
  2. icomment:
    Logged In: YES 
    user_id=572001
    
    How do you think about this use case?
    I imagine the following function calls to import mapping
    tables into corresponding data structures.
    
    set source1 {Pi/3.1415,Tax/0.16,}
    set pattern1 {([^/]+)/(.+),}
    regexp -all -array vector1 $pattern1 $source1
    regexp -all -list contents1 $pattern1 $source1
    set source2 {1-title:23-name:456-address:}
    set pattern2 {([^\-]+)-(.*):}
    regexp -all -type array -param vector2 $pattern2 $source2
    regexp -all -type list -param contents2 $pattern2 $source2
    
    
  3. login: "elfring"
  4. mimetype: "text/plain"
  5. resolution changed to: "Later"
  6. status changed to: "Open"
  7. username: "elfring"