Optional boost::regex replacement for STL's regex added.