PyMySQL/PyMySQL — pull request #211 by kux (2014-02-04 13:30:12+00:00)
Title: Fix for issue 203: Add support for doing bulk inserts in Cursor.executemany 

Implementation uses regex matching on the insert statement.

The initial plan was to use the module level `insert_values = re.compile(r'\svalues\s*(\(.+\))', re.IGNORECASE)` regex, but that doesn't seem to support multiline statements.