<i>leading/trailing whitespace handling</i> status still Open with 4 other changes
by
.
D 2005-11-24T07:36:22
J icomment Logged\sIn:\sYES\s\nuser_id=114531\n\nI\sfind\sthis\svery\sconfusing.\s\sIs\sthis\sreally\sa\sbug?\s\sThe\scode\nfor\s[string\sis\sinteger]\sand\s[string\sis\sdouble]\sboth\sseem\sto\nspecifically\sallow\strailing\swhitespace.\s\sThe\sman\spage\smakes\nno\smention\sof\sthis,\sthough.\n\nWhy\swas\strailing\swhite\sspace\sever\sallowed?\s\sAllowing\sit\nmeans\sI\scannot\ssafely\sdo\sthis:\n\nif\s{[string\sis\sdouble\s$d]}\s{\n\s\sset\sx\s[expr\s$d\s+\s1]\n}\n\nSince\strailing\swhite\sspace\shas\sbeen\sallowed\sfor\sa\slong\stime,\nthere\scould\sbe\scode\sout\sthere\sthat\sdoes\sthis:\n\nif\s{[string\sis\sdouble\s$d]}\s{\n\s\sincr\sd\n}\n\nThis\scurrently\sworks,\sbut\swould\sbe\sbroken\sif\strailing\swhite\nspace\swas\sdisallowed.\n\nI\swould\sreally\slike\sto\sknow\swhat\sthe\splan\sto\sfix\sthis\sis.\s\nFor\ssure,\sthe\sdocumentation\sshould\sbe\supdated.\n
J login marttj
J mimetype text/plain
J username marttj
K 1360532fffffffffffffffffffffffffffffffff
U marttj
Z efe445425eb73178978a92c5d17b294c