21 May
2007
21 May
'07
7:07 a.m.
Hello all, i'm trying to search a regular expression backward. I use iterators. I suspect that i should use something like that, but i could not find documentation confirming: while (pos != start) { if (boost::regex_search (start, end, results, regex, ::regex_constants::match_continuous)) // it's ok; --start; } Is it the right idea? (using macth_continuous?) Regards Armel