Convert CSV records to TSV: Difference between revisions

discard previous edits -- I overlooked the r'REGEX somehow
m (spell out what had to have been the intent of what was previously r'[ntr])
(discard previous edits -- I overlooked the r'REGEX somehow)
Tag: Manual revert
Line 52:
# each embedded LF (LINEFEED) must be replaced by the two-character string "\n";
# each embedded CR (CARRIAGERETURN) must be replaced by the two-character string "\r";
# each backslash that occurs in a two-character substring of the form r'\\[nrt]' must be duplicated;
# each literal NUL character (#x0) should be replaced by the two-character string "\0".
 
Line 92:
Use the following as a test file, noting any discrepancies with the
requirements, and specifically stating how strings containing backslashes
(besides those preceding the character 'n', 't' or 'r'[nrt]) are transformed.
 
; TEST FILE
6,962

edits