Tcl Source Code

View Ticket
Login
Ticket UUID: 403932
Title: Fix problems with [string match]
Type: Patch Created on: 2001-02-21 16:39:48
Submitter: dkf Assigned to: dkf
Subsystem: 44. UTF-8 Strings Severity: Minor
Priority: 5 Medium Last modified: 2013-08-27 10:58:38
Status: Open Closed by: nobody
Resolution: Fixed Closed on:
Version: None
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:
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.)

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?

Attachments: