Regex is supported from gcc491, currently compile with clang.