Clean-up of regular expressions in XUri.