andialbrecht / sqlparse

A non-validating SQL parser module for Python
BSD 3-Clause "New" or "Revised" License
3.76k stars 700 forks source link

Redundant characters in regular expression #709

Closed andialbrecht closed 1 year ago

andialbrecht commented 1 year ago

The regular expression for detecting keywords contains some characters that are already in the character class used in the same group.

Tracking issue for: