.
D 2000-10-26T05:09:33
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1059\sRFE\nVersion:\s8.1b1\nSubmitDate:\s'1999-01-15'\nLastModified:\s'1999-08-04'\nSeverity:\sLOW\nStatus:\sUnAssn\nSubmitter:\spat\nChangedBy:\sstanton\nOS:\sWindows\sNT\nOSVersion:\s4.0;\sI\salso\suse\sMacOS\s8.5.1\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nvince\sdarley\n\nExtensions:\nnone\n\nDesiredBehavior:\nregexps\sonly\sfind\sthe\sfirst\smatch\sin\sthe\sgiven\stext;\sit\swould\sbe\svery\suseful\sto\sbe\sable\sto\shave\sa\s'-backwards'\sflag\swhich\sstarted\ssearching\sfrom\sthe\send\sof\sthe\sgiven\sstring.\n\nAs\swell\sas\sbeing\sa\suseful\sfeature,\sthis\saddition\swould\sspeed\sup\sbackwards\ssearches\sin\sthe\sText\swidget,\swhich\scurrently\spretends\sto\ssearch\sbackwards\sby\srepeating\sforward\ssearches\suntil\sit\scan't\sfind\sanother\sforward\smatch.\n\nIn\sTcl\s8.0\sit\swas\sreasonably\seasy\sto\swrite\sone's\sown\s'regexec'\sfunction\swhich\smatched\sbackwards\sinstead\sof\sforwards\s(using\sthe\sbuilt\sin\sregexp\sprocedures).\s\sHowever\sthe\snew\sregexp\scode\sin\sTcl\s8.1\sis\sso\scomplex\sit's\snot\sclear\show\sto\sdo\sthat\sany\smore\s(although\sI\slove\sthe\snew\sregexp\sfeatures).\s\sProbably\sit\sstill\sisn't\sconceptually\sthat\sdifficult\sfor\ssomeone\swho\sactually\sunderstands\sthat\scode\s;-)\n\n\n\n
J foundin obsolete:\s8.1b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 43.\sRegexp
J title Would\slike\sregexps\sto\saccept\sa\s-backward\sflag\sfor\ssearching\s
J type RFE
K 219264ffffffffffffffffffffffffffffffffff
U nobody
Z fa7e917469a71eba616a5e43bda3dd5f