Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b822797e2a16348f66d1380aa8f162bf4ac678ed
Ticket: 1115587fffffffffffffffffffffffffffffffff
Regexp backreference fail with a * closure
User & Date: andreas_kupries on 2012-07-10 23:53:20
Changes

  1. icomment:
    A side note, commenting on "But there are two significant regex features that DFA can't handle: capturing parentheses and back-references."
    
    While I agree with the above on the back-references the capturing parentheses can actually be handled by a DFA style RE matcher. Russ Cox, who wrote about the performance differences between automata and backtracking RE matchers at the beginning of 2007 wrote two followup articles about this a few years later, as I found out last week.
    
    His article describing how to handle capturing parens is at http://swtch.com/~rsc/regexp/regexp2.html, written at the end of 2009.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"