Tcl Source Code

View Ticket
Login
Ticket UUID: 403932
Title: Fix problems with [string match]
Type: Patch Version: None
Submitter: dkf Created on: 2001-02-21 16:39:48
Subsystem: 44. UTF-8 Strings Assigned To: dkf
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2013-08-27 10:58:38
Resolution: Fixed Closed By: nobody
    Closed on:
Description:
Problems detected and fixed:
 * Inappropriate handling of case insensitivity
 * Incomplete handling of UTF-8 patterns in Tcl_StringCaseMatch
 * Handling of incomplete match sets (e.g. "[a-") that was significantly at odds with that documented in the string manual page.
User Comments: jan.nijtmans added on 2013-08-27 10:58:38:
I think that the first 2 points are handled now, but how about the 3th one?

Can this one be closed?

dkf added on 2001-02-21 23:42:32:
Please review - note that several tests in string.test and util.test have had the sense of their result changed.  I believe that the change respects the specification better (by making incomplete sets be treated as if they were not sets at all, and so subjected to the standard rules on literal matching.)

Attachments: