Overview
| Artifact ID: | b822797e2a16348f66d1380aa8f162bf4ac678ed |
|---|---|
| Ticket: | 1115587fffffffffffffffffffffffffffffffff
Regexp backreference fail with a * closure |
| User & Date: | andreas_kupries on 2012-07-10 23:53:20 |
Changes
- 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.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"