| Ticket UUID: | 469855 | |||
| Title: | Bug in ::csv::split | |||
| Type: | Bug | Version: | None | |
| Submitter: | bach | Created on: | 2001-10-10 12:48:30 | |
| Subsystem: | csv | Assigned To: | hobbs | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2001-10-15 03:10:15 | |
| Resolution: | Fixed | Closed By: | hobbs | |
| Closed on: | 2001-10-14 20:10:15 | |||
| Description: |
Small test sample:
package require csv
set x [list "\"hello, you\"" a b c]
puts $x
puts [::csv::join $x]
puts [::csv::split [::csv::join $x]]
The output is:
{"hello, you"} a b c
"""hello, you""",a,b,c
{hello, you"} a b c
but the last line of the output should equal the first
line. Mind the missing " after the opening brace.
| |||
| User Comments: |
hobbs added on 2001-10-15 03:10:15:
Logged In: YES user_id=72656 This turns out to be due to a RE bug in Tcl with the handling of \A vs. ^ (see Tcl bug 471101). I've replace the \A with ^, which is the same when no other options are used and things work. I've fixed this for cvs 0.2. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki