better Arduino device regexp