Reserved words in PathRegex should not include word that don't match PATH_REGEX_STR

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The reserved words regexes in PathRegex currently include words that wouldn't be allowed as namespace paths because they don't match the format of PATH_REGEX_STR.

I think we shouldn't add these to reserved the reserved words, and the path_regex_spec should not fail if they are missing.

Mentioned by @godfat in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11407#note_30821623

@DouweM

Edited by 🤖 GitLab Bot 🤖