Skip to content
Tcl Source Code View Ticket
Login

View Ticket

regexp fails to match with anchor when out parameter is supp

Closed / Fixed218528ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:01:44
OriginalBugID: 897 Bug
Version: 8.1a2
SubmitDate: '1998-12-03'
LastModified: '1998-12-09'
Severity: SER
Status: Released
Submitter: stanton
ChangedBy: stanton
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1998-12-09'
FixedInVersion: 8.1b1
ClosedDate: '2000-10-25'


regexp {^a*b} aaab foo

fails to match, but 

regexp {^a*b} aaab 

succeeds.

There is a difference in behavior between shortest match and longest match subroutines.
welch Closed ticket [218528ffff]. [History diff]2000-10-26 08:24:12
Log in (anonymous is fine) to add a comment.