Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c455066ad560dc4a0bc14cf169bd77d696a4f905
Ticket: 219233ffffffffffffffffffffffffffffffffff
string match oddity when - is the last char
User & Date: gneumann on 2010-11-18 16:52:04
Changes

  1. icomment:
    i was hit by apparently the same problem.
    
    % string match {[-.]} -
    1
    % string match {[.-]} -
    0 
    # even worse
    % string match {[.-]} A
    1 
    
    This is certainly unexpected behavior and should be at least documented.
    
    
  2. login: "gneumann"
  3. mimetype: "text/plain"
  4. username: "gneumann"