Use boost regex where stl's one is not implemented