Remove libboost_regex dependency