(bug 5149) pull out regex to make code flow better
(bug 5149) clarify: the URI *module* can't cope