change device listing to use globbing and regular expressions