Weight function for an inclined edge crack in a semiplane