Boost logo

Boost Users :

Subject: Re: [Boost-users] upgrade from boost 1.39 to boost 1.50. Issue with regex_match
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-10-20 05:44:43


On 20/10/2016 10:17, MAURICE Jean wrote:
> Hi John,
>
> The first thing I would like to know is :
>
> Is "{m_pimpl={.}}" a correct regular expression ?

No, it's just a view of the internals of something (the regex object?)

You would need to call basic_regex::str() to get the actual stored
regular expression, or else just stream the regex object to cout.

> If yes, what does it mean ?
>
> TIA
> Jean
>
> -----Message d'origine-----
> De : Boost-users [mailto:boost-users-bounces_at_[hidden]] De la part de John Maddock
> Envoyé : jeudi 20 octobre 2016 11:13
> À : boost-users_at_[hidden]
> Objet : Re: [Boost-users] upgrade from boost 1.39 to boost 1.50. Issue with regex_match
>
>
>
> On 19/10/2016 13:41, MAURICE Jean wrote:
>> Hi,
>>
>> I am 'upgrading' a huge C++ app from VS2005 (32bits) to VS2010 (64
>> bits) and boost 1.39 to boost 1.50. This app runs both under Windows
>> and Linux.
>>
>> In a function that searchs subdirectories and files of a given
>> directory, we get the list of all the elements and then this list is
>> filtered by :
>>
>> if(true==boost::regex_match(sAdaptation, what,
>> childNode.infoNode.rFullPathFilePattern))
>>
>> *sAdaptation*is ".\TEST\un_noeud" (this subdirectory exists)
>>
>> childNode.infoNode.rFullPathFilePattern is something like
>> *{m_pimpl={.}}*
>>
>> And regex_match always returns false.
>>
>> If you can give me information about what is happening .
>>
> I don't see anything in the changelog that would indicate an issue there, and those releases are so far back my memory certainly won't help!
>
> So you will need to provide a test case - or at least a pattern and string for which regex_match fails for us to help further.
>
> John.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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