Wrap regex

Old version of boost can't handle c++11.

To tide as over until gcc 4.9 hide it in a horrid little library
which can be compiled as c++98 and linked against the rest of
the code base.