Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jet2007
sqlparse
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
sqlparse
sqlparse
lexer.py
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 11, 2017
Fix encoding logic/order
Show description for 66b36af
vmuriart
committed
66b36af
View commit details
Copy full SHA for 66b36af
View code at this point
Browse repository at this point
Fix #315 support utf-8 by default
Show description for a6d372d
twang2218
committed
a6d372d
View commit details
Copy full SHA for a6d372d
View code at this point
Browse repository at this point
Commits on Sep 14, 2016
Correct license link (fixes #288).
andialbrecht
committed
4430c5c
View commit details
Copy full SHA for 4430c5c
View code at this point
Browse repository at this point
Commits on Aug 31, 2016
Decode bytes to unicode in Lexer.get_tokens().
Show description for 8434999
phdru
committed
8434999
View commit details
Copy full SHA for 8434999
View code at this point
Browse repository at this point
Commits on Aug 13, 2016
Revert "Parse double dollars (PostgreSQL) as literal strings (fixes #277)."
Show description for 83ca5c8
vmuriart
committed
83ca5c8
View commit details
Copy full SHA for 83ca5c8
View code at this point
Browse repository at this point
Parse double dollars (PostgreSQL) as literal strings (fixes #277).
andialbrecht
committed
2893bd1
View commit details
Copy full SHA for 2893bd1
View code at this point
Browse repository at this point
Commits on Aug 10, 2016
Move file_types list to compat module.
andialbrecht
committed
907d36a
View commit details
Copy full SHA for 907d36a
View code at this point
Browse repository at this point
Commits on Aug 5, 2016
Fix a bug: recognize file (Python 2) as a stream
phdru
committed
44e6671
View commit details
Copy full SHA for 44e6671
View code at this point
Browse repository at this point
Commits on Jul 22, 2016
Fix parsing of streams (fixes #273).
andialbrecht
committed
55a7d3e
View commit details
Copy full SHA for 55a7d3e
View code at this point
Browse repository at this point
Commits on Jun 19, 2016
Misc. small code clean-up/comments
vmuriart
committed
581912d
View commit details
Copy full SHA for 581912d
View code at this point
Browse repository at this point
Commits on Jun 11, 2016
Redo unicode-encoding on lexer.py
vmuriart
committed
954f484
View commit details
Copy full SHA for 954f484
View code at this point
Browse repository at this point
Commits on Jun 4, 2016
Allow re to compile once
Show description for 41cbd6a
vmuriart
committed
41cbd6a
View commit details
Copy full SHA for 41cbd6a
View code at this point
Browse repository at this point
Simplify multi-line comments
vmuriart
committed
348ff62
View commit details
Copy full SHA for 348ff62
View code at this point
Browse repository at this point
Add or Update copyright year to files
vmuriart
committed
af2a3fa
View commit details
Copy full SHA for af2a3fa
View code at this point
Browse repository at this point
Commits on Jun 2, 2016
Replace iter(range(len(...))) with enumerate
vmuriart
committed
8240d96
View commit details
Copy full SHA for 8240d96
View code at this point
Browse repository at this point
Pass encoding into lexer as a parameter
vmuriart
committed
e98b192
View commit details
Copy full SHA for e98b192
View code at this point
Browse repository at this point
Commits on May 29, 2016
Simplify handling of encoding in lexer.py
vmuriart
committed
faacd60
View commit details
Copy full SHA for faacd60
View code at this point
Browse repository at this point
Remove encoding guessing on lexer.py
vmuriart
committed
ce13747
View commit details
Copy full SHA for ce13747
View code at this point
Browse repository at this point
Refactor lexer.tokens_unprocessed
Show description for 099435c
vmuriart
committed
099435c
View commit details
Copy full SHA for 099435c
View code at this point
Browse repository at this point
Bid Adieu to metaclass
Show description for 7e88aa2
vmuriart
committed
7e88aa2
View commit details
Copy full SHA for 7e88aa2
View code at this point
Browse repository at this point
Merge process_state and __call__
Show description for 6b95b43
vmuriart
committed
6b95b43
View commit details
Copy full SHA for 6b95b43
View code at this point
Browse repository at this point
Merge process_tokendef and __call__
Show description for 3ab8606
vmuriart
committed
3ab8606
View commit details
Copy full SHA for 3ab8606
View code at this point
Browse repository at this point
Remove assert statements from lexer.py
vmuriart
committed
acae8ff
View commit details
Copy full SHA for acae8ff
View code at this point
Browse repository at this point
Remove undocumented ws handlers from lexer.py
Show description for 73f5f61
vmuriart
committed
73f5f61
View commit details
Copy full SHA for 73f5f61
View code at this point
Browse repository at this point
Remove unused func/class/args in lexer.py
Show description for 4c1200b
vmuriart
committed
4c1200b
View commit details
Copy full SHA for 4c1200b
View code at this point
Browse repository at this point
Refactor var Lexer.tokens & func is_keyword
vmuriart
committed
5aa8091
View commit details
Copy full SHA for 5aa8091
View code at this point
Browse repository at this point
Commits on May 15, 2016
Don't call is_keyword for the new 'USING(' regex
koljonen
committed
233216c
View commit details
Copy full SHA for 233216c
View code at this point
Browse repository at this point
Commits on May 14, 2016
Recognize USING as a keyword in 'USING(', not just in 'USING ('
Show description for 26b5385
koljonen
committed
26b5385
View commit details
Copy full SHA for 26b5385
View code at this point
Browse repository at this point
Commits on Dec 18, 2015
fix issue #215
Show description for d7201a1
shenlongxing
committed
d7201a1
View commit details
Copy full SHA for d7201a1
View code at this point
Browse repository at this point
Commits on Oct 26, 2015
Cleanup module code.
andialbrecht
committed
1992f6d
View commit details
Copy full SHA for 1992f6d
View code at this point
Browse repository at this point
Fix tab expansion for Python 3.
andialbrecht
committed
4aff8c7
View commit details
Copy full SHA for 4aff8c7
View code at this point
Browse repository at this point
Use compat module for single Python 2/3 code base.
Show description for e6a51a0
andialbrecht
committed
e6a51a0
View commit details
Copy full SHA for e6a51a0
View code at this point
Browse repository at this point
Commits on Jul 26, 2015
Recognize MSSQL temp tables and distinguish from MySQL comments (fixes #192).
andialbrecht
committed
8b5a957
View commit details
Copy full SHA for 8b5a957
View code at this point
Browse repository at this point
Commits on Apr 12, 2015
Never interpret IN keyword as function name (fixes #183).
andialbrecht
committed
f775030
View commit details
Copy full SHA for f775030
View code at this point
Browse repository at this point
Commits on Mar 16, 2015
Fix other regex to identify comments starting with '#' character.
andialbrecht
committed
f5e1a1a
View commit details
Copy full SHA for f5e1a1a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.