Overview
| Artifact ID: | 6c34b509a2fd4a8e4794bc5d964d7486f3522228 |
|---|---|
| Ticket: | 1230836fffffffffffffffffffffffffffffffff
Check independency of subpatterns |
| User & Date: | elfring on 2005-07-01 09:45:38 |
Changes
- assignee changed to: "pvgoran"
- cmimetype changed to: "text/plain"
- comment changed to:
I convert the discussion "non-greedy is too greedy" into this bug report. http://groups.google.de/group/comp.lang.tcl/browse_frm /thread/fd3fa4545458bbf7/0026661d93360192 Pattern examples: % regexp {^(\d+),(.+?),} 11,A,B,C X Y Z 1 % puts "a) $Y|$Z" a) 11|A,B % regexp {^(\d+?),(.+?),} 12,A,B,C X Y Z 1 % puts "b) $Y|$Z" b) 12|A % regexp {^..,(.+?),} 13,A,B,C X Y 1 % puts "c) $Y" c) A Why can the change to a lazy quantifier in the first part change the match of the capturing parentheses in the second part? - Are there any flags in the processing not reset when the first comma is reached? - Does the expression compiler generate a FSM with unexpected states? - foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "elfring"
- subsystem changed to: "43. Regexp"
- title changed to: "Check independency of subpatterns"
- type changed to: "Bug"