use regex pathSegment as URI lib exceptions far & wide