Artifacts Associated With Ticket 70176515d1019f8f
Ticket change [067e9167fd] (rid 136600) by migfilg on 2014-01-28 16:59:04:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Unexpected errors with (at least) lindex and lassign commands acting on a list that has a space before a closing quote: > lindex {x="a" y="a " z="a"} list element in quotes followed by "a"" instead of space > lassign {x="a" y="a " z="a"} v list element in quotes followed by "a"" instead of space In my view, either the quote before z is a separate list element after 'y="a' and before 'z="a"', or it matches the previous one after 'y=' and in both cases it will not match the next one and leave 'a"' as a spurious continuation of a list element... This must really be bug: compare with > lindex {x="a" y=" a" z="a"} 0 x="a" > lindex {x="a" y=" a" z="a"} 1 y=" > lindex {x="a" y=" a" z="a"} 2 a" > lindex {x="a" y=" a" z="a"} 3 z="a" Thanks in advance for any help in coping with this, Miguel Filgueiras - foundin initialized to: "8.5.11"
- is_private initialized to: "0"
- login: "migfilg"
- priority initialized to: "5 Medium"
- private_contact initialized to: "2839a1afd9f47e651a6e7f076ad9fc08c5700794"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "migfilg"
- subsystem initialized to: "14. List Object"
- title initialized to:
Errors in list commands when list has a space before a closing quote
- type initialized to: "Bug"
Ticket change [f331bdf56e] (rid 136603) by dgp on 2014-01-28 19:30:41:
- assignee changed to: "dgp"
- closedate changed to: "2456686.31297814"
- closer changed to: "dgp"
- icomment:
There is no bug here. See http://www.tcl.tk/cgi-bin/tct/tip/407.html for detail on the rules for parsing the elements of a list from a string.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"