Correct regex pattern in the replace
Correct regex pattern in the replace

I believe the intention is to strip out the last `/` character, if any
(as the comment say).

hypothesis/browser-extension,hypothesis/browser-extension,hypothesis/browser-extension,hypothesis/browser-extension