Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correct regex pattern for SELECT clause extraction
The new regex non-greedily matches everything after "select" and before "where". "[\s\S]*?" basically means ".*?" but is more general because it also matches linebreaks without the re.DOTALL flag. See https://docs.python.org/3/library/re.html#re.DOTALL. Fixes #122.
- Loading branch information