Fixed error when looking for regular expressions in uriToEntities.py