debugger - Fix issue with new uuid code.
Bug: skia:
Change-Id: I4edf657c9fdf3491fbedb24a1779e5ca1ce64f76
Reviewed-on: https://skia-review.googlesource.com/c/174600
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
diff --git a/debugger/go/instances/instances.go b/debugger/go/instances/instances.go
index b6ddc34..ab44b34 100644
--- a/debugger/go/instances/instances.go
+++ b/debugger/go/instances/instances.go
@@ -50,7 +50,7 @@
var (
// instancePrefixRe is used to strip out the instance uuid.
- instancePrefixRe = regexp.MustCompile("^/([A-Fa-f0-9]+)(/.*)")
+ instancePrefixRe = regexp.MustCompile("^/([A-Fa-f0-9-]+)(/.*)")
runningInstances = metrics2.GetCounter("running_instances", nil)
)