فهرست منبع

remove extra state push

Mitsuhiro Tanda 8 سال پیش
والد
کامیت
cc1e69ace3
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      public/app/plugins/datasource/prometheus/mode-prometheus.js

+ 1 - 2
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 : "}",