Tcl Source Code

View Ticket
Login
Ticket UUID: 1828296
Title: [string match] regression
Type: Bug Created on: 2007-11-08 13:58:15
Submitter: dgp Assigned to: hobbs
Subsystem: 12. ByteArray Object Severity:
Priority: 9 Immediate Last modified: 2007-11-10 01:55:27
Status: Closed Closed by: hobbs
Resolution: Fixed Closed on: 2007-11-09 18:55:27
Version: obsolete: 8.5b3
Description:
New test failure on today's HEAD.

==== stringComp-11.51 string match; *, -nocase and UTF-8 FAILED
==== Contents of test case:

    proc foo {} {string match -nocase [binary format I 717316707]  [binary format I 2028036707]}
    foo

---- Result was:
0
---- Result should have been (exact matching):
1
==== stringComp-11.51 FAILED


Most likely a regression introduced
with TclByteArrayMatch().
User Comments:
hobbs added on 2007-11-10 01:55:27:
Logged In: YES 
user_id=72656
Originator: NO

The design of the test is iffy, but I decided to disallow -nocase for TclByteArrayMatch for "full correctness".