progress on fixing bug with g++ being counted as a regex