implemented regex check
switched from the unimplemented std::regex to boost::regex until it is implemented