bugfix URI regex, see #696