modify regexp of uri