#include #include using namespace std; #include "boost/regex.hpp" using namespace boost; #include #include int main() { char buf[10000]; int fd = open("glass.htm", O_RDONLY); int size = read(fd, buf, 10000); string line(buf, size); close(fd); regex expr("Resurfacing(.|\n)*Home" , boost::regex::icase | boost::regex::perl); try { sregex_iterator itr(line.begin(), line.end(), expr, boost::match_not_dot_newline); sregex_iterator i; while(itr != i) { cout<