change regex to boost/regex