Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cf8befedcc5dfb00c5b0598e2074fdb770c6fd6a
Ticket: 3604074fffffffffffffffffffffffffffffffff
Inifinite loop when matching regular expression
User & Date: sebres on 2013-02-13 16:48:46
Changes

  1. icomment:
    9.1 can be reproduced
    9.2.2 not
    
    Candidates are:
    1. 9-1-3
    Fix regular expression back-references with * attached (Tom Lane)
    Rather than enforcing an exact string match, the code would effectively accept any string that satisfies the pattern sub-expression referenced by the back-reference symbol.
    A similar problem still afflicts back-references that are embedded in a larger quantified expression, rather than being the immediate subject of the quantifier. This will be addressed in a future PostgreSQL release.
    
    2. 9-1-5
    Fix extraction of common prefixes from regular expressions (Tom Lane)
    The code could get confused by quantified parenthesized subexpressions, such as ^(foo)?bar. This would lead to incorrect index optimization of searches for such patterns.
    
    3. 9-2
    Sync regular expression code with TCL 8.5.11 and improve internal processing (Tom Lane)
    
    
  2. login: "sebres"
  3. mimetype: "text/plain"
  4. username: "sebres"