[issue44677] CSV sniffing falsely detects space as a delimiter

Piotr Tokarski report at bugs.python.org
Tue Jul 20 03:42:40 EDT 2021


Piotr Tokarski <pt12lol at gmail.com> added the comment:

I think changing `(?P<quote>["\']).*?(?P=quote)` to `(?P<quote>["\'])[^\n]*?(?P=quote)` in all regexes does the trick, doesn't it?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44677>
_______________________________________


More information about the Python-bugs-list mailing list