changed regex for /dev name matching