Boost Regex implementation