You need a `?` after `(staging\.)` to make the staging bit optional