
1. It would be helpful if the top page of the docs had direct links to explanations of smatch and similar classes.
OK I'll add a typedefs section to the index.
2. An example of how to use sub_match would be useful. The C++ parser example for regex_iterator is not ideal because: a) the regex is rather complex; b) the callback just uses str(), and never shows the type to use if you want to iterate through each character in the match.
OK.
3. I get this error (see P.S. for my code) `iterator' is not a member of type `boost::sub_match<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >'
but this page says sub_match has an iterator type. libs/regex/doc/sub_match.html
It compiles when I explicitly use std::string::const_iterator.
Thanks, that appears to be a bug, sorry I'll get it fixed. John.