use a regex to detect clang version