fixed platform lookup to match regexp