Bring parse regex inline with RFC for user part of the prefix

Fixes #283
Merge pull request #284 from M2Ys4U/regex

Bring parse regex inline with RFC for user part of the prefix