diff --git a/MySQLdb/MySQLdb/cursors.py b/MySQLdb/MySQLdb/cursors.py index 789cfe2..99489ac 100644 --- a/MySQLdb/MySQLdb/cursors.py +++ b/MySQLdb/MySQLdb/cursors.py @@ -6,7 +6,7 @@ default, MySQLdb uses the Cursor class. """ import re -insert_values = re.compile(r'\svalues\s*(\(.+\))', re.IGNORECASE) +insert_values = re.compile(r"\svalues\s*(\(((?