Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 81fe00d01d7bec4c38296da29dfa0e6164431975c214c2d2ce6213e4dca9368d
Ticket: c0bc269178df938974e19cbe60e69fc0e711da5f
switch -regexp -matchvar -indexvar broken when optional subexpression does not match
User & Date: apnadkarni on 2022-09-20 18:50:44
Changes

  1. foundin changed to: "8.6.13"
  2. icomment:
    The bug seems to have been introduced with [this](https://core.tcl-lang.org/tcl/info/26539e78a71993cc) checkin on this [line](https://core.tcl-lang.org/tcl/file?ci=94f71d598512687b&name=generic/tclStringObj.c&ln=823).
    
    However, it seems a deliberate change so not clear to me that just reverting is the correct fix.
    
    /Ashok
    
  3. login: "apnadkarni"
  4. mimetype: "text/x-markdown"
  5. priority changed to: "7 High"
  6. subsystem changed to: "18. Commands M-Z"