[regex] how to search backward?
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
6388
Age (days ago)
6388
Last active (days ago)
0 comments
1 participants
participants (1)
-
Armel Asselin