If re.groups does not match, they're of type None

Merged okhin requested to merge 5-fix-unauthorized-calls into master

Work on #5

Merge request reports