St Johnstone will appeal against midfielder Paddy Cregg's sending off for a lunge on Hibernian's Paul Cairney.