Remove libboost_regex usage

This removes the need for compiling libboost_regex