By default parameters match [^/]+, this means that they must have a value. By specifying [^/]*, we tell the regular expression that we don’t care if there is a parameter or not, but it still cannot match a ‘/’
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.