When pattern matching file names to determine API support, in some environments std::regex will throw. This change is meant to handle this more gracefully. Change-Id: If1ccfe5bdd71ec4d08663c80692024488072e11b [ROCm/rocm_smi_lib commit: 27148a02cb]
27148a02cb