.
D 2000-10-26T05:03:55
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s4391\sBug\nVersion:\s8.3\nSubmitDate:\s'2000-03-17'\nLastModified:\s'2000-03-29'\nSeverity:\sMED\nStatus:\sAssigned\nSubmitter:\stechsupp\nChangedBy:\sericm\nOS:\sLinux\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nLaurent\sRiesterer\n\nReproducibleScript:\n%\sregexp\s-nocase\s-all\s-inline\s--\s{aa.*?(--(.*?)--|==(.*?)==).*?aa}\s\\\s"aa....--match1--........aa,,,,,,,aa....==match2==........aa"\naa....--match1--........aa\s--match1--\smatch1\s{}\saa....==match2==........aa\s==match2==\s{}\smatch2\n%\sregexp\s-indices\s-nocase\s-all\s-inline\s--\s{aa.*?(--(.*?)--|==(.*?)==).*?aa}\s\\\s"aa....--match1--........aa,,,,,,,aa....==match2==........aa"\n{0\s25}\s{6\s15}\s{8\s13}\s{-1\s-1}\s{33\s58}\s{39\s48}\s{25\s25}\s{41\s46}\n%\n\nObservedBehavior:\nthe\sempty\ssubmatch\sin\ssecond\smatch\sreports\scorrectly\s{}\sbut\nindices\sreport\s{25\s25}\sinstead\sof\s{-1\s-1}\n\nDesiredBehavior:\nI\sshould\scan\s{-1\s-1}\sfor\sall\sthe\sempty\ssubmatches\sin\sall\sthe\smatches\n\n\n\nVerified\swith\s8.3.0\son\sLinux.\n\n-\seric\n\n--\s03/29/2000\sericm\n\nThis\shappens\sin\s8.2.3\sas\swell:\n\n%\sregexp\s-indices\s-start\s26\s{aa.*(--(.*)--|==(.*)==).*aa}\s"aa....--match1--........aa,,,,,,,aa....==match2==........aa"\sa\sb\sc\sd\n1\n%\sset\sa\n33\s58\n%\sset\sb\n39\s48\n%\sset\sc\n25\s25\n%\sset\sd\n41\s46\n\nHopefully,\sHenry\scan\shelp\sus\sout.\n\n-\seric\n\n--\s03/29/2000\sericm\n\n
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 43.\sRegexp
J title Error\sin\sreporting\sindices\sin\sregexps
J type Bug
K 219232ffffffffffffffffffffffffffffffffff
U nobody
Z 8967a887097431ef4ebc4d92fad0ef6a