remove unused variable
revert to old boost based regex as GCC does not properly implement it prior to GCC 4.90