From cc1e69ace3a02044ea284f21f89536af0f102e9a Mon Sep 17 00:00:00 2001 From: Mitsuhiro Tanda Date: Tue, 17 Oct 2017 11:50:33 +0900 Subject: [PATCH] remove extra state push --- public/app/plugins/datasource/prometheus/mode-prometheus.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/app/plugins/datasource/prometheus/mode-prometheus.js b/public/app/plugins/datasource/prometheus/mode-prometheus.js index 165c1a364c4..1e93f8c9a60 100644 --- a/public/app/plugins/datasource/prometheus/mode-prometheus.js +++ b/public/app/plugins/datasource/prometheus/mode-prometheus.js @@ -75,8 +75,7 @@ var PrometheusHighlightRules = function() { regex : '"[^"]*"|\'[^\']*\'' }, { token : "punctuation.operator", - regex : ",", - push : 'start-label-matcher' + regex : "," }, { token : "paren.rparen", regex : "}",