Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2000-10-26
08:30 • Closed ticket [218834ffff]: regexp negative lookahead fails to match in some cas... artifact: e6af0197f1 user: welch
01:06 • New ticket [218834ffff]. artifact: c44143cc1b user: nobody

regexp negative lookahead fails to match in some cases

Closed / Fixed218834ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:06:20
OriginalBugID: 2318 Bug
Version: 8.1.1
SubmitDate: '1999-07-02'
LastModified: '1999-07-08'
Severity: SER
Status: Released
Submitter: stanton
ChangedBy: stanton
OS: All
OSVersion: NA
Machine: NA
FixedDate: '1999-07-08'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'


The following script should result in a successful match, but it does not.

set data {  #
  # 
a b}
regexp {(?n)^(?!(\s*#))\S+} $data x


07/02/1999 11:02 - stanton - According to Henry Spencer, it's something actually wrong with the
FSMs, not with the matching routine itself, but he does not have a solution yet.

07/08/1999 13:58 - stanton - Henry supplied a patch that fixes this problem.
welch Closed ticket [218834ffff]. [History diff]2000-10-26 08:30:12
Log in (anonymous is fine) to add a comment.