Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b79101040274845538dbe46daeebfa6daf8eb618
Ticket: 1280817fffffffffffffffffffffffffffffffff
regexp hangs on some valid REs
User & Date: nobody on 2005-09-02 16:50:09
Changes

  1. assignee changed to: "pvgoran"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Certain valid regular expressions cause [regexp]
    to hang, apparently in the expression-compilation phase.
    The following one-line command hangs Tcl, with memory
    requirements increasing apparently without limit:
    
      regexp -about {(\m.*\M)*}
    
    If the final * quantifier is removed, the bug does 
    not occur.
    
    If the grouping parentheses are removed, the bug does
    not occur.
    
    If the grouping is made noncapturing with ?:, the
    bug still occurs.
    
    Observed with Tcl 8.4.9.1 snd also 8.3.4, on Win2000.
    
    Submitted by Jonathan Bromley,
    [email protected]
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "43. Regexp"
  10. title changed to: "regexp hangs on some valid REs"
  11. type changed to: "Bug"