At this stage I'd recomend you rebuild the regex binaries using whatever build options you are using: the exception problem is strongly indicating that there is a binary incompatibity problem somewhere.
Thanks. I'll give that a try as soon as practical and get back to you then. I probably should update my compiler too. Mike Marchywka 586 Saint James Walk Marietta GA 30067-7165 404-788-1216 (C)<- leave message 989-348-4796 (P)<- emergency only marchywka@hotmail.com Note: Hotmail is blocking my mom's entire ISP claiming it is to reduce spam but probably to force users to use hotmail. Please DON'T assume I am ignoring you and try me on marchywka@yahoo.com if no reply here. Thanks.
From: "John Maddock"
Reply-To: boost-users@lists.boost.org To: Subject: Re: [Boost-users] follow up on regex questions Date: Fri, 5 Oct 2007 10:53:10 +0100 Mike Marchywka wrote:
This hangs ( I thought it may be a repetition problem but reliably hits on this data/regex combo first pass):
Not for me: it works just fine here, my complete test program is below, tested with cygwin g++ 3.4.4, and the version of Boost that's downloadable with cygwin:
g++ -I /usr/include/boost-1_33_1 t.cpp -lboost_regex-gcc-mt
t.cpp:
#include
#include <iostream> int main() { try{ boost::regex e("ATG(...)*?(TAG|TAA|TGA)"); const char* s = "GAGATATTCACCTCTCATTGCCTTTTCCAGAGGTTGTTGAACTTAGTGGCCTGAGCATTTTA"
"TCTGCAAAATGACTAGCAATTTTTTTTTAAGTTTCAGGCTTTTTTAATGCCCTAAATACAGTTGATCCATTACCGAGTGT"
"GTTACATGCATAGGAATTTACTGATCTTTTCTTTTCCCCCTAGCTAGTTTTAAAGTTACTGAGCATAACGAGCTTTAAAA"
"ATTCTTCAGAATACAAATAAATGAATAGATAAAAGACTACCTCCATTTGATAAATCATTCAAGAAAAAGAAAAAAAAACT"
"TGAGCAAGCTAAGAAAGTCATTAACAGCCATATTTCTGATGGAACTAATGTxGATACCTACTCAAGCTAxCACTxGAATC" "TAATAATCTGTGAGAGAAGAAATGGGAAAAGGTATGAAAGC";
boost::cregex_iterator a(s, s+strlen(s), e), b; while(a != b) { std::cout << *a << std::endl; ++a; } } catch(boost::regex_error e) { std::cout << e.what() << std::endl; } catch(std::exception e) { std::cout << e.what() << std::endl; } }
So I still think that you have issues with your binary install, or build method or something.
At this stage I'd recomend you rebuild the regex binaries using whatever build options you are using: the exception problem is strongly indicating that there is a binary incompatibity problem somewhere.
HTH, John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Café. Stop by today! http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGHM_OctHM...