Fix URI templates regex with * or +