|
2001-04-19
| ||
| 04:11 | • Ticket [218298ffff] string match fails for strings containing "[" ... artifact: ca5d95a91a user: dgp | |
|
2000-10-26
| ||
| 08:18 | • Closed ticket [218298ffff]. artifact: 75373cd068 user: welch | |
| 00:55 | • New ticket [218298ffff]. artifact: 5f17c3d875 user: nobody | |
string match fails for strings containing "["
Closed / Invalid218298ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:55:51
OriginalBugID: 3559 Bug
Version: 8.2.1
SubmitDate: '1999-11-11'
LastModified: '1999-11-11'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: SunOS
Machine: x86 solaris, AMD microprocessor
FixedDate: '2000-10-25'
ClosedDate: '1999-11-11'
Name:
Jim Russell
ReproducibleScript:
>From tclsh8.2 command line I typed:
set a {i[0]}
set b $a
string match $a $b
ObservedBehavior:
Setting b to the value of a should result in a successful match when comparing a to b.
DesiredBehavior:
I would expect the string match to return "1".
The user didn't account for the glob pattern interpretation
done by string match.
-- 11/11/1999 hobbs
welch Closed ticket [218298ffff].
[History diff]2000-10-26 08:18:59
dgp Ticket [218298ffff]: 5 changes
[History diff]2001-04-19 04:11:53
Log in (anonymous is fine) to add a comment.