Fix problems with [string match]
Open403932ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 13 years ago
Descriptionplain2001-02-21 16:39:48
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.
dkfplain2001-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.)
dkf Ticket [403932ffff]: 1 change
[History diff]2001-02-22 16:28:12
jan.nijtmansplain2013-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?
Log in (anonymous is fine) to add a comment.
Attachments:
- None [download] added by dkf on 2001-02-21 23:39:48. [details]