- priority: 5 --> 2
- status: open --> closed-fixed
OriginalBugID: 3944 Bug
Version: 8.3b1
SubmitDate: '1999-12-27'
LastModified: '2000-01-03'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 98
FixedDate: '2000-10-25'
ClosedDate: '2000-01-03'
Name:
Tim Baker
ReproducibleScript:
Under tclsh83:
% set s {""}
""
% scan $s {"%[^"]"} t
0
ObservedBehavior:
The %[] format specifier should match 0 or more characters from the set. Under Tcl 8.3b1 it only matches 1 or more.
DesiredBehavior:
Under tclsh82:
% set s {""}
""
% scan $s {"%[^""]} t
1
This is the correct behavior, it was actually 8.2- that had
the non-scanf style behavior. This should have been better
noted in the ChangeLog.
-- 01/03/2000 hobbs