Skip to content

Commit

Permalink
oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
tedpearson committed Oct 6, 2023
1 parent f67e25d commit 099dda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (p Params) String() string {
}

var queryRE = regexp.MustCompile(`^(\w+)\{(.+)}$`)
var tagRE = regexp.MustCompile(`^(\w+)="([^"]+)",?$`)
var tagRE = regexp.MustCompile(`(\w+)="([^"]+)",?`)

// ParseQuery parses the information in the prometheus query string.
func (s *Server) ParseQuery(query string) (*ParsedQuery, error) {
Expand Down

0 comments on commit 099dda2

Please sign in to comment.