Description
Fails to parse repo name when GitLab repo name contains a - character.
Steps to reproduce
test case: s = 'https://gitlab.com/sheepkill15/cypress-helper/-/blob/main/.vscodeignore'
Versions
Python >= 3.7
gitulrparse = 0.10.0
Expected behaviour
parse(s).repo == 'cypress-helper'
Actual behaviour
parse(s).repo == '-'
Description
Fails to parse repo name when GitLab repo name contains a
-character.Steps to reproduce
test case:
s = 'https://gitlab.com/sheepkill15/cypress-helper/-/blob/main/.vscodeignore'Versions
Python >= 3.7
gitulrparse = 0.10.0
Expected behaviour
parse(s).repo == 'cypress-helper'Actual behaviour
parse(s).repo == '-'