|
Boost Users : |
From: Mike Marchywka (marchywka_at_[hidden])
Date: 2007-10-05 07:13:01
>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_at_[hidden]
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_at_[hidden] if no reply
here. Thanks.
>From: "John Maddock" <john_at_[hidden]>
>Reply-To: boost-users_at_[hidden]
>To: <boost-users_at_[hidden]>
>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 <boost/regex.hpp>
>#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_at_[hidden]
>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_OctHMtagline
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net