X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/575b2f04b80a8bb2cf5ab61ce80a94d5fe017aa3..441ef97e93a951b349356df96d8a6ef604c6cab7:/apps/workbench/app/helpers/application_helper.rb diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb index db6ae38c84..0f60bcd65b 100644 --- a/apps/workbench/app/helpers/application_helper.rb +++ b/apps/workbench/app/helpers/application_helper.rb @@ -671,9 +671,9 @@ module ApplicationHelper end # Keep locators are expected to be of the form \"...\" - KEEP_LOCATOR_REGEXP = /(.*)(([0-9a-f]{32}\+\d+)(.*)\"(.*))/ + JSON_KEEP_LOCATOR_REGEXP = /(.*)(([0-9a-f]{32}\+\d+)(.*)\"(.*))/ def keep_locator_in_json str - KEEP_LOCATOR_REGEXP.match str + JSON_KEEP_LOCATOR_REGEXP.match str end private