فهرست منبع

remove label match operator from keyword.operator

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

+ 1 - 1
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 : "[[(]"