Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a12dfca596dd5d4f9c2dfbfc4ac43a874b1c5dea
Ticket: 219233ffffffffffffffffffffffffffffffffff
string match oddity when - is the last char
User & Date: dkf on 2000-11-24 18:35:30
Changes

  1. icomment:
    Hmm.  The problem seems to be that the first pattern is actually malformed by the rules of [string match], but there is no way to indicate this.  I suppose the correct way of dealing with this is to decide that we were not really matching a range after all, but that's not very good at all.  Either that, or we state that a malformed pattern matches nothing at all.
    
    Hmm.  On successful matching of a range, should we really back up a character at the unexpected end of string , or should we fail at that point?
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"