Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(select\s.*from\s|delete\s+from\s|insert\s+into\s.*values\s|update\s.*set\s)
"
gmsi

Description

An example false positive matching docstring for the regex used by flake8-sql (https://github.com/pgjones/flake8-sql).

Submitted by anonymous - 2 years ago (Last modified 2 years ago)