Closed PabloRMira closed 3 years ago
This was because of regex in sql_formatter.utils.assign_comment()
function.
The regex for (?:and|or)
needed a boundary character \b
at beginning and end. Otherwise (as in the example above) it replaces and / or within a word
To Reproduce