Skip to content
Tcl Source Code Artifact [6c34b509a2]
Login

Artifact [6c34b509a2]

Artifact 6c34b509a2fd4a8e4794bc5d964d7486f3522228:

Ticket change [6c34b509a2] - New ticket [1230836fffffffff|1230836fff] <i>Check independency of subpatterns</i>. by elfring on 2005-07-01 09:45:38.
D 2005-07-01T09:45:38
J assignee pvgoran
J cmimetype text/plain
J comment I\sconvert\sthe\sdiscussion\s"non-greedy\sis\stoo\sgreedy"\sinto\s\nthis\sbug\sreport.\nhttp://groups.google.de/group/comp.lang.tcl/browse_frm\n/thread/fd3fa4545458bbf7/0026661d93360192\n\nPattern\sexamples:\n%\sregexp\s{^(\\d+),(.+?),}\s11,A,B,C\sX\sY\sZ\n1\n%\sputs\s"a)\s$Y|$Z"\na)\s11|A,B\n%\sregexp\s{^(\\d+?),(.+?),}\s12,A,B,C\sX\sY\sZ\n1\n%\sputs\s"b)\s$Y|$Z"\nb)\s12|A\n%\sregexp\s{^..,(.+?),}\s13,A,B,C\sX\sY\n1\n%\sputs\s"c)\s$Y"\nc)\sA\n\nWhy\scan\sthe\schange\sto\sa\slazy\squantifier\sin\sthe\sfirst\spart\s\nchange\sthe\smatch\sof\sthe\scapturing\sparentheses\sin\sthe\s\nsecond\spart?\n-\sAre\sthere\sany\sflags\sin\sthe\sprocessing\snot\sreset\swhen\s\nthe\sfirst\scomma\sis\sreached?\n-\sDoes\sthe\sexpression\scompiler\sgenerate\sa\sFSM\swith\s\nunexpected\sstates?
J foundin obsolete:\s8.4.7
J priority 5\sMedium
J resolution None
J status Open
J submitter elfring
J subsystem 43.\sRegexp
J title Check\sindependency\sof\ssubpatterns
J type Bug
K 1230836fffffffffffffffffffffffffffffffff
U elfring
Z e856bb1f994b058e09f34a6e502abe77