Merge branch 'master' of git.clinicalfuture.com:arvados
[arvados.git] / apps / workbench / app / helpers / provenance_helper.rb
index 6d6ae5516c838ebdfe0556948ee980e8f6782c2b..8278d37f3ec022525bdfc42b0f2103bdf080e078 100644 (file)
@@ -9,7 +9,7 @@ module ProvenanceHelper
     end
 
     def self.collection_uuid(uuid)
-      m = /^([a-f0-9]{32}(\+[0-9]+)?)(\+.*)?$/.match(uuid.to_s)
+      m = CollectionsHelper.match(uuid)
       if m
         #if m[2]
         return m[1]