make fewer regex which covers the same set of compilers and extensions