Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2000-10-26
08:09 • Closed ticket [217892ffff]: regexp loops plus 4 other changes artifact: 8da5886870 user: welch
00:45 • New ticket [217892ffff]. artifact: cf0000ee57 user: nobody

regexp loops

Closed / Fixed217892ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:45:31
OriginalBugID: 2447 Bug
Version: 8.2b1
SubmitDate: '1999-07-26'
LastModified: '1999-08-04'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: stanton
RelatedBugIDs: 2440
OS: Linux-Red Hat
OSVersion: 5.2 with Linux 2.2.10
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '1999-08-04'


Name:
Lindsay Marshall

Extensions:
No extensions

CustomShell:
none

Comments:
If you omit the variables there is not problem and short matching
    patterns seem not to fail either. The example given picks up a larger
    quantity of data that matches the pattern and it does hang.

ReproducibleScript:
set data [::http::geturl
    http://catless.ncl.ac.uk/Lindsay/weblog/wl000006.html
    regexp {(.+)<!--@@H1-->(.+)<!--@@F1-->(.+)} $data m a b c

ObservedBehavior:
tcl hangs.

DesiredBehavior:
Pattern match should succedd and values be put in the variables a b c



07/28/1999 14:46 - stanton - The regexp doesn't hang.  It's just very slow.  This is the same as bug 2440.
welch Closed ticket [217892ffff]. [History diff]2000-10-26 08:09:11
Log in (anonymous is fine) to add a comment.