Re: regex search loops instead of findall

2008-08-05 Thread Waldemar Osuch
On Aug 5, 12:06 pm, brad <[EMAIL PROTECTED]> wrote: > Hi guys... I'm trying to make my Python regex code behave like my C++ > regex code. In order to search large strings for *all* occurrences of > the thing I'm searching for, I loop like this in C++: > > void number_search(const std::string& porti

regex search loops instead of findall

2008-08-05 Thread brad
Hi guys... I'm trying to make my Python regex code behave like my C++ regex code. In order to search large strings for *all* occurrences of the thing I'm searching for, I loop like this in C++: void number_search(const std::string& portion, const boost::regex& Numbers) { boost::smatch m