Use regex iff we have c++11