Artifact
fef17f6d26b0b35e390d39635179d08a76283cd9:
Ticket change
[fef17f6d26]
- New ticket
[217915ffffffffff|217915ffff] <i>Problems with non-greedy quantifiers</i>.
by
nobody on
2000-10-26 00:45:55.
D 2000-10-26T00:45:55
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2866\sBug\nVersion:\s8.2\nSubmitDate:\s'1999-09-23'\nLastModified:\s'2000-01-27'\nSeverity:\sLOW\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nRelatedBugIDs:\s4001\nOS:\sWindows\sNT\nOSVersion:\s4.0\sSP5\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-01-27'\n\n\nName:\nIngemar\sHansson\n\nComments:\nPerl\shandles\sthis\sexpression\sas\sexpected\s\s:-(\n\nReproducibleScript:\n#\sThis\sregular\sexpression\sshould\sextract\sa\spiece\sof\stext\sfrom\sa\nHTML-coded\sline\sof\stext\nregexp\s{^<TR><TD\s.*?><FONT\s.*?>(?:<A\sHREF.*?>)?(.*?)<}\s$line\smatch\sresult\n\nThe\slines\smay\slook\slike\sthis\s(They're\svery\slong.\sI'll\sonly\sshow\sthe\nbeginning)\n<TR><TD\sNOWRAP\sALIGN=LEFT><FONT\sSIZE=1\sFACE=Arial\sCOLOR=#FF0000><A\nHREF="http://some.url">Wanted\stext\s1</A></FO\n<TR><TD\sNOWRAP\sALIGN=LEFT><FONT\sSIZE=1\sFACE=Arial\sCOLOR=#FF0000>Wanted\ntext\s2</FO\n<TR><TD\sNOWRAP\sALIGN=LEFT><FONT\sSIZE=1\sFACE=Arial>Wanted\stext\s3</FO\n<TR><TD\sNOWRAP\sALIGN=LEFT><FONT\sSIZE=1\sFACE=Arial><A\nHREF="http://some.other.url">Wanted\stext\s4</A></FO\n\nObservedBehavior:\nregexp\scannot\shandle\sthe\sexpression\s"(?:<A\sHREF.*?>)?"\scorrectly.\sregexp\nreturns\s"<TR><TD\sNOWRAP\sALIGN=LEFT><FONT\sSIZE=1\sFACE=Arial\nCOLOR=#FF0000><"\sin\smatch\sand\snothing\sin\sresult.\n\nDesiredBehavior:\nobvious\n\n
J foundin obsolete:\s8.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 43.\sRegexp
J title Problems\swith\snon-greedy\squantifiers
J type Bug
K 217915ffffffffffffffffffffffffffffffffff
U nobody
Z 5cb60917f44ea71e7fb97afc63421635