Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b6945af7fb0f8105b4af4f3aa59d6980b4b70df1
Ticket: 906616ffffffffffffffffffffffffffffffffff
lsearch -regexp error introduced in 8.4.2
User & Date: dgp on 2004-03-02 03:10:56
Changes

  1. assignee changed to: "dkf"
  2. icomment:
    Logged In: YES 
    user_id=80530
    
    
    It looks like when [lsearch] was given an
    empty list, it did not bother to compile the
    regular expression, because there was no
    comparing to be done, so invalid regexp's
    were not reported.  It's that slight change
    in behavior that's causing you trouble?
    
    Probably you should correct your code so
    it does not construct an invalid regexp for
    passing in.
    
    Passing to dkf for another opinion on
    whether this error behavior is something
    we needed to preserve.
    
    
  3. login: "dgp"
  4. mimetype: "text/plain"
  5. username: "dgp"