Merged regex-4 branch.

[SVN r18430]
This commit is contained in:
John Maddock committed 2003-05-17 11:45:48 +00:00
1 parent a81a1ea30f
commit f0f32bdda1
154 files changed
+32890 -429

No files matched your search

+2 -2
View File
@@ -73,12 +73,12 @@ int main(int argc, const char** argv)
// temporary string stream
std::ostringstream t(std::ios::out | std::ios::binary);
std::ostream_iterator<char> oi(t);
boost::regex_merge(oi, in.begin(), in.end(), e2, pre_format);
boost::regex_merge(oi, in.begin(), in.end(), e2, pre_format, boost::match_default | boost::format_all);
// then output to final output stream
// adding syntax highlighting:
std::string s(t.str());
std::ostream_iterator<char> out(os);
boost::regex_merge(out, s.begin(), s.end(), e1, format_string);
boost::regex_merge(out, s.begin(), s.end(), e1, format_string, boost::match_default | boost::format_all);
os << footer_text;
}
}