Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[string match] regression

Closed / Fixed1828296fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-11-08 13:58:15
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().
hobbsplain2007-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".
Log in (anonymous is fine) to add a comment.