constraint puzzle to match only characters