Updated regex for synthesise