Mayfield Onyx Espresso Bar stabbing accused 'regrets incident', court hears