Skip to content
Tcl Source Code Artifact [0967411c49]
Login

Artifact [0967411c49]

Artifact 0967411c49085e38e1ebdaa506df1bb66da53256:

Ticket change [0967411c49] - Pending ticket [838711ffffffffff|838711ffff]: <i>matching variables are not being set correctly</i> plus 8 other changes by msofer on 2003-11-09 18:48:59.
D 2003-11-09T18:48:59
J assignee dgp
J closedate 2003-11-09T11:48:59
J closer msofer
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nThere\sis\sno\sbug\shere?\n\nLook\sat\swhat\sis\shappening\sif\syou\sreturn\sboth\smatches\sinline:\n\s\s%\sregexp\s-inline\s-all\s{([0-9|A-Z]*)}\s{31MAR+}\n\s\s31MAR\s31MAR\s{}\s{}\n\s\s%\sregexp\s-indices\s-inline\s-all\s{([0-9|A-Z]*)}\s{31MAR+}\n\s\s{0\s4}\s{0\s4}\s{5\s4}\s{5\s4}\n\nThis\sis\sprobably\snot\swhat\sthe\sprogrammer\swanted,\sbut\sit\sis\nwhat\she\srequested\sin\sthe\sregexp:\sa\ssequence\sof\s'ZERO\sor\smore\ndigits,\s"|"\sor\scaps',\sand\sreturn\sthe\smatching\ssequence.\sTwo\nsuch\ssequences\sare\sfound\shere:\s"31MAR"\s(wanted)\sand\sa\szero\nlength\sone.\s\n\nThe\spattern\sseems\sbadly\sspecified\sto\sme,\sa\sproper\sdefinition\nof\szero-length\smatches\sis\sat\sleast\sdifficult.\sThe\scorrect\nthing\swould\shave\sbeen\sto\srequest\sa\ssequence\sof\sONE\sor\smore\nsuch\ssymbols\s(+\sinstead\sof\s*)\n\s\s%\sregexp\s-inline\s-all\s{([0-9|A-Z]+)}\s{31MAR+}\n\s\s31MAR\s31MAR\n\nBTW,\sI\scan\simagine\sthat\sthe\swanted\sregexp\sis\sactually\n{([0-9A-Z]+)}\s-\sie,\sthat\sthe\ssymbol\s"|"\sshould\snot\smatch\s-\nbut\sthis\sis\ssecond-guessing\sthe\ssubmitter.\n\nAssigning\sto\sanother\smainatiner\sfor\sconfirmation\sof\sthis\ndismissal.\n
J login msofer
J mimetype text/plain
J resolution Invalid
J status Pending
J username msofer
K 838711ffffffffffffffffffffffffffffffffff
U msofer
Z 9d58e29303488b38d06206a0aff18c83