.
D 2006-06-28T15:45:47
J closedate 2006-06-28T08:45:47
J closer dkf
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nI've\sno\sidea\swhat\sthe\sabove\sregular\sexpression\sis\strying\sto\nachieve,\ssince\sit\swill\smatch\sany\snon-empty\ssequence\sof\s'o'\ncharacters\s(the\s*\sallows\sbits\sto\sbe\signored).\sHowever,\sif\sI\suse:\n\s\s\s^(oo+?)\\1+$\nas\sthe\sRE\s(dropping\sone\sset\sof\sparens\sfor\ssimplicity\sand\nchanging\sto\susing\sa\s+)\sthen\sI\sget\sa\sperfectly\sadequate\nnon-prime\sdetector.\n\s\s\s%\sinfo\spatch\n\s\s\s8.4.7\n\s\s\s%\s#Print\sthe\slowest\sprime\sfactor\sof\s169...\n\s\s\s%\sstring\slength\s[lindex\s[regexp\s-inline\s{^(oo+?)\\1+$}\n[string\srepeat\so\s169]]\s1]\n\s\s\s13\n\nLooks\slike\spilot\serror\sto\sme.\n
J login dkf
J mimetype text/plain
J resolution Works\sFor\sMe
J status Pending
J username dkf
K 1513763fffffffffffffffffffffffffffffffff
U dkf
Z 3b84beee24710992a97442648a1a08aa