Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cd95aef19614a098e98f005d9781c6c72e6de078
Ticket: 219233ffffffffffffffffffffffffffffffffff
string match oddity when - is the last char
User & Date: lupylucke on 2003-11-23 15:20:03
Changes

  1. icomment:
    Logged In: YES 
    user_id=915599
    
    I encountered a problem with `string match' too. I suppouse
    it is, finally, the same bug: it is possible to match a [ in
    a character set quoting int with \. Thits should work with ]
    too, but it doesn't!
    
    % string match {[\[]} {[}
    1
    % string match {[\]]} {]}
    0
    
    
    
    
  2. login: "lupylucke"
  3. mimetype: "text/plain"
  4. username: "lupylucke"