|
2002-01-02
| ||
| 20:52 | • Closed ticket [233257ffff]: Case-insensitive string match problem plus 3 o... artifact: 10ae26a49c user: dkf | |
|
2001-09-20
| ||
| 16:38 | • Ticket [233257ffff]: 1 change artifact: 98926b11f3 user: dkf | |
|
2001-03-15
| ||
| 23:21 | • Ticket [233257ffff]: 4 changes artifact: 52919fa5be user: dkf | |
|
2001-02-20
| ||
| 15:56 | • New ticket [233257ffff]. artifact: b6f138f8cc user: dkf | |
Case-insensitive [string match] problem
Closed / Fixed233257ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2001-02-20 15:56:28
The following script prints out a result that is clearly wrong (sorry for not making it any clearer, but web-forms tend to mangle non-ASCII characters.) set s1 [binary format I 717316707] set s2 [binary format I 2028036707] puts "\[string match -nocase $s1 $s2\] = [string match -nocase $s1 $s2]" This is caused because the character matching after a * character is only partially UTF-8 aware (i.e. it assumes that only ASCII characters can immediately follow a * charater in a pattern.)
dkfplain2001-03-15 23:21:57
Logged In: YES user_id=79902 http://www.cs.man.ac.uk/~fellowsd/tcl/patches/stringmatch.patch
dkf Ticket [233257ffff]: 1 change
[History diff]2001-09-20 16:38:52
dkf Closed ticket [233257ffff].
[History diff]2002-01-02 20:52:48
Log in (anonymous is fine) to add a comment.