Last active
November 18, 2021 18:53
-
-
Save kelvingakuo/d8e5eabcda5b4a6b080ee8ea8b49e2ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| acceptable = re.Scanner(patterns) | |
| query = "SELECT * FROM table WHERE col_a = 1.5 AND col_b = 250;" | |
| matched_tokens, uknown_tokens = acceptable.scan(query) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment