From 8580b78ce6818ef28f8943f0375490a76a8d391d Mon Sep 17 00:00:00 2001 From: Mitsuhiro Tanda Date: Tue, 17 Oct 2017 12:19:42 +0900 Subject: [PATCH] remove label match operator from keyword.operator --- public/app/plugins/datasource/prometheus/mode-prometheus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/prometheus/mode-prometheus.js b/public/app/plugins/datasource/prometheus/mode-prometheus.js index 1e93f8c9a60..094faf40f85 100644 --- a/public/app/plugins/datasource/prometheus/mode-prometheus.js +++ b/public/app/plugins/datasource/prometheus/mode-prometheus.js @@ -46,7 +46,7 @@ var PrometheusHighlightRules = function() { regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b" }, { token : "keyword.operator", - regex : "\\+|\\-|\\*|\\/|%|\\^|=|==|!=|<=|>=|<|>|=\\~|!\\~" + regex : "\\+|\\-|\\*|\\/|%|\\^|=|==|!=|<=|>=|<|>" }, { token : "paren.lparen", regex : "[[(]"