Use a more strict regular expression to match the tiles