From: John Maddock (john_at_[hidden])
Date: 2007-10-02 10:44:38


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.