use std::regex.
set syntastic compiler options to support c++11 in .lvimrc.
use range-based for loop.
replace boost::scoped_array with unique_ptr.