[prev in list] [next in list] [prev in thread] [next in thread]
List: python-csv
Subject: [Csv] multi-character delimiters, take two
From: skip () pobox ! com (Skip Montanaro)
Date: 2003-02-09 16:47:05
Message-ID: 15942.34313.543359.488243 () montanaro ! dyndns ! org
[Download RAW message or body]
Dave> Mind you all of this code falls over once you decide to allow
Dave> multiple characters in the quotechar as well. What happens when
Dave> delimiter = 'DD' and quotechar = 'DQ' (where D and Q are some
Dave> arbitrary character)? You start building a partial regex engine.
Would it work to simply use regular expressions to recognize delimiters and
quotes? (I'll let you do the math. ;-)
Skip
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic