Updated regex for list command