Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5504052c6d1896b4f344f74ef796578e6ae1a8c81defaf8686d73fd00b1778e8
Ticket: 5a1aaa201da8bd4ba2b37348c5247c98d192321e
lsearch -stride with -subindices and -inline -all gives unexpected result
User & Date: juliannoble2 on 2024-11-18 17:04:41
Changes

  1. icomment:
    Thanks for trying this out Harald.
    I propose the following tests:
    
      test lsearch-27.7 {lsearch -stride + -subindices option single index} {
          lsearch -inline -stride 3 -subindices -all -index 1  {{x a} {y b} {x c} {xx a} {xx b} {xx c} {xxx a} {y b} {xxx c}} {y b}
      } {{y b} {y b}}
      test lsearch-27.8 {lsearch -stride + -subindices option single index} {
          lsearch -inline -stride 3 -subindices -all -index end {{x a} {y b} {xc} {xx a} {xx b} {xx c} {xxx a} {y b} {}} *
      } {xc {xx c} {}}
    
  2. login: "juliannoble2"
  3. mimetype: "text/plain"