Revert "remove unnecessary boost_regex dep for Python"

This reverts commit 7b02714e8193bdc79779c3b1a17c57153420f1a3.