.
D 2005-07-02T20:36:49
J closedate 2005-07-02T13:36:49
J closer msofer
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nI\sstill\sdo\snot\squite\sget\sit.\sI\sthink\syou\sare\sproposing\sto\nhave\sa\sbuiltin\scapability\sto\sdo\ssomething\slike\n\nforeach\s{-\skey\sval}\s[regexp\s-all\s-inline\s$pattern\s$source]\s{\n\s\s\s\sset\svector($key)\s$val\n}\n\nWhat\sshould\shappen\sif\sthe\spattern\sdoes\snot\salways\sproduce\san\neven\snumber\sof\ssubmatches?\sWould\sthat\sbe\san\serror?\sWhat\sif\nthe\spattern\sis\scapable\sof\sproducing\san\sodd\snumber\sof\nsubmatches,\sbut\sdoesn't\swith\sthe\sparticular\sinput\s:\serror\sor\nnot?\n\nAs\sit\sis,\sI\sdo\snot\sthink\sthe\scomplication\sis\sreally\sworth\nit.\sYou\scan\seasily\sget\sthis\sfunctionality\sin\sa\sproc.\sIt\sis\nquite\sunlikely\sthat\sthe\sperformance\simpact\swill\sbe\nnoticeable,\sif\sthis\sis\swhat\sis\sworrying\syou:\sproc\scalls\sand\n[set]\sare\squite\sa\sbit\sfaster\sthan\s[regexp]\sin\sany\scase.\n
J login msofer
J mimetype text/plain
J resolution Rejected
J status Pending
J username msofer
K 1230253fffffffffffffffffffffffffffffffff
U msofer
Z 4d34a43cbea3714e40c1d4d55ceaa374