<i>Inifinite loop when matching regular expression</i> status still Open with 4 other changes
by
.
D 2013-02-12T01:06:46
J icomment The\strouble\sis\swhen\sunempty\sis\scalled\sto\nremove\san\sEMPTY\sarc,\sand\sthen\scopyouts()\ncopies\sthe\ssame\sEMPTY\sarc\sback\sinto\splace.\nThe\ssimplest\sgraph\sI\scan\simagine\sthat\swould\shave\nthis\sproblem\sis\sone\swith\stwo\sstates\sA\sB\sand\sarc\slists:\n\nA:\s\s->A\s\s->B\nB:\s\s->A\s\s->B\n\nwhere\sall\sthose\sarcs\sare\sempty.\s\sAdd\sas\smany\nother\sstates\sand\sarcs\sas\syou\slike.\s\sOne\spass\nthrough\sfixempties()\swill\sleave\sthat\sset\sof\sEMPTY\narcs\sunchanged,\sso\swe\sloop\sforever\sstill\strying\nto\schange\sthem\s(reduce\sthem\sto\s0).\n\nNow\sit\smay\sbe\sthat\ssuch\sa\sgraph\sought\snot\sbe\npossible\sin\sthis\scontext,\sand\sthe\sreal\sbug\sis\nsomewhere\selse\sthat\spermits\sit\sto\sshow\sup.\nBut\sit\swouldn't\shurt\sto\snot\sassume\sthat\shere.\n
J login dgp
J mimetype text/plain
J username dgp
K 3604074fffffffffffffffffffffffffffffffff
U dgp
Z 16295fb2d347d13d867fc0b4d25a6288