Explorar o código

Support graphite identifiers with embedded colons. i.e. host:twiggy.servlet:home.method:GET.user:loggedin.50th

Semir Patel %!s(int64=12) %!d(string=hai) anos
pai
achega
1c72e0c40c
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      src/app/services/graphite/lexer.js

+ 3 - 2
src/app/services/graphite/lexer.js

@@ -120,8 +120,9 @@ define([
       i === 36 ||           // $
       i >= 65 && i <= 90 || // A-Z
       i === 95 ||           // _
-      i === 45 ||          // -
-      i === 42 ||         // *
+      i === 45 ||           // -
+      i === 42 ||           // *
+      i === 58 ||           // :
       i >= 97 && i <= 122;  // a-z
   }