Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 311a18eabbdfb80be835c3a93ce5c7c9c64240e3
Ticket: 3106532fffffffffffffffffffffffffffffffff
"switch -regexp -indexvar" gives invalid range
User & Date: ferrieux on 2010-11-11 20:55:45
Changes

  1. icomment:
    At the end of the day, what count as specification is the manpage, not the unwritten intention behind the TIP. Here the manpage says: 
    
                        ... will be a two-element list specifying  the  index  of
                     the  start  and index of the first character after the end of
                     the overall substring of the input string
    
    Hence, any application working today and using the -indexvar option, with its current and documented semantics, will sunddenly fail if the change is applied. That is an API change, hence that needs a TIP.
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"