On May 16, 8:51 pm, "BJörn Lindqvist" <[EMAIL PROTECTED]> wrote:
> How is the code different from shlex.split?

Shlex only splits by whitespace.  I needed something to split out SQL
statements from a Postgresql dump, so the ideal way of doing that is
to split by semicolons.  However, postgresql function definitions have
semicolons inside single quoted blocks which I didnt want to split by.

--
Ondrej

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to