Commit d2507bcd by edetmt

fix regex rule

1 parent 828ea634
Showing with 6 additions and 1 deletions
...@@ -8,6 +8,11 @@ group\s+by.+\( ...@@ -8,6 +8,11 @@ group\s+by.+\(
(?:from\W+information_schema\W) (?:from\W+information_schema\W)
(?:(?:current_)user|database|version|schema|connection_id)\s*\( (?:(?:current_)user|database|version|schema|connection_id)\s*\(
;{0,1}'{0,1}\){0,1}(\+| )*\b(and|or)\b(\+| )+.*(=|<|>).* ;{0,1}'{0,1}\){0,1}(\+| )*\b(and|or)\b(\+| )+.*(=|<|>).*
\b(create|drop|backup)\b(\+| )+\bdatabase\b(\+| )+\w*
\b(drop|truncate|create)\b(\+| )+\btable\b(\+| )+\w*
\bdelete\b(\+| )+\bfrom\b(\+| )+.*
\binsert\b(\+| )+(\binto\b){0,1}(\+| )+.*\bvalues\b.*
\bupdate\b(\+| )+.*(\+| )+\bset\b(\+| )+.*=.*
order\s+by\s+.*--$ order\s+by\s+.*--$
benchmark\((.*)\,(.*)\) benchmark\((.*)\,(.*)\)
base64_decode\( base64_decode\(
......
...@@ -6,7 +6,7 @@ group\s+by.+\( ...@@ -6,7 +6,7 @@ group\s+by.+\(
(?:(?:current_)user|database|version|schema|connection_id)\s*\( (?:(?:current_)user|database|version|schema|connection_id)\s*\(
;{0,1}'{0,1}\){0,1}(\+| )*\b(and|or)\b(\+| )+.*(=|<|>).* ;{0,1}'{0,1}\){0,1}(\+| )*\b(and|or)\b(\+| )+.*(=|<|>).*
\b(create|drop|backup)\b(\+| )+\bdatabase\b(\+| )+\w* \b(create|drop|backup)\b(\+| )+\bdatabase\b(\+| )+\w*
b(drop|truncate|create)\b(\+| )+\btable\b(\+| )+\w* \b(drop|truncate|create)\b(\+| )+\btable\b(\+| )+\w*
\bdelete\b(\+| )+\bfrom\b(\+| )+.* \bdelete\b(\+| )+\bfrom\b(\+| )+.*
\binsert\b(\+| )+(\binto\b){0,1}(\+| )+.*\bvalues\b.* \binsert\b(\+| )+(\binto\b){0,1}(\+| )+.*\bvalues\b.*
\bupdate\b(\+| )+.*(\+| )+\bset\b(\+| )+.*=.* \bupdate\b(\+| )+.*(\+| )+\bset\b(\+| )+.*=.*
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!