sqlparse
sqlparse copied to clipboard
Parsing bug in string literal ')\'');a'
Describe the bug The following query gets split into two, when it shouldn't be:
SELECT (')\'');a');
To Reproduce
https://sqlformat.org/
SELECT (')\'');a');
Yields:
SELECT (')\'');
a');
Expected behavior The query should come out unchanged
Versions (please complete the following information): Python: 3.12.1 sqlparse: 0.5.0