diff --git a/modules/openstack_project/files/gerrit/hideci.js b/modules/openstack_project/files/gerrit/hideci.js index e8eee4bbcf..56c5703276 100644 --- a/modules/openstack_project/files/gerrit/hideci.js +++ b/modules/openstack_project/files/gerrit/hideci.js @@ -14,7 +14,7 @@ // under the License. // this regex matches the hash part of review pages -var hashRegex = /^\#\/c\/([\d]+)(\/([\/\d+])?)?$/; +var hashRegex = /^\#\/c\/([\d]+)(\/(\d+)?\/?)?$/; // this regex matches CI comments var ciRegex = /^(.* CI|Jenkins)$/; // this regex matches "Patch set #"