edit advice, fixed regex