We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08a8964 commit 56be581Copy full SHA for 56be581
helpers/sql-obfuscation/lib/opentelemetry/helpers/query_summary/tokenizer.rb
@@ -31,7 +31,7 @@ class Tokenizer
31
quoted_identifier: /"(?:""|[^"\r\n])*"|`(?:``|[^`\r\n])*`|\[(?:[^\]\r\n])*\]/,
32
keyword: /\b(?:SELECT|INSERT|UPDATE|DELETE|FROM|INTO|JOIN|CREATE|ALTER|DROP|TRUNCATE|WITH|UNION|TABLE|INDEX|PROCEDURE|VIEW|DATABASE)\b/i,
33
identifier: /[a-zA-Z_][a-zA-Z0-9_.]*/,
34
- operator: /<=|>=|<>|!=|[=<>+\-*\/%,;()!?]/
+ operator: %r{<=|>=|<>|!=|[=<>+\-*\/%,;()!?]}
35
}.freeze
36
37
EXCLUDED_TYPES = %i[whitespace comment].freeze
0 commit comments