
Sorry, I posted this later: Info: resolving vtable for boost::regex_errorby linking to __imp___ZTVN5boost11regex_errorE (auto-import) while trying to link against boost_regex-gcc-mt-1_33_1 and cygboost_regex-gcc-mt-1_33_1.dll using $ g++ -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs Configured with: /gcc/gcc-3.3.3-3/configure --verbose --prefix=/usr --exec-prefi x=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/s hare/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc, pascal --enable-nls --without-included-gettext --enable-libgcj --with-system-zli b --enable-interpreter --enable-threads=posix --enable-java-gc=boehm --enable-sj lj-exceptions --disable-version-specific-runtime-libs --disable-win32-registry Thread model: posix gcc version 3.3.3 (cygwin special)
From: "John Maddock"
Reply-To: boost-users@lists.boost.org To: Subject: Re: [Boost-users] question on boost::regex expression(query); Date: Tue, 2 Oct 2007 15:44:38 +0100 Mike Marchywka wrote:
Variable length look-behind isn't support by Boost.Regex (or by Perl for that matter).
Sorry I can't be more helpful at present: although it seems as though lookbehind isn't really needed in this case - you could remove the lookbehind and use a marked sub-expression to identify the section you want instead.
The subexpression was the whole point of trying boost so I will assume you are right and continue. However, the inability to catch the problem with (...) combined with the linker comment made me a little concerned about the build accuracy.
Sorry, what linker comment?
The thrown boost::regex_error is caught OK for me (on VC8), which compiler are you using? You could try catching by const reference instead to see if that helps at all...
HTH, John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_________________________________________________________________ Kick back and relax with hot games and cool activities at the Messenger Café. http://www.cafemessenger.com?ocid=TXT_TAGHM_SeptHMtagline1