yeah ... write only kind of regex.
It looks for <user>/repo/<query> where query is optional and `\/` is needed to encode the verbatim `/`.