Works ok for me. The code is sound so I would open a PMR.


On 9/04/2018 2:09 AM, Charles Mills wrote:
#include <stdio.h>

#define __IBMCPP_TR1__ 1
#include <regex>

class myRegex
{
public:
     std::tr1::regex regexObject;
};

int main(int argc, char* argv[])
{
     printf("RegEx test 4/6/2018\n");
     std::tr1::regex::flag_type flags = std::tr1::regex::extended;     //
necessary for error
     myRegex *myRegex_p = new myRegex;
     myRegex_p->regexObject.assign("foo", flags);
     delete myRegex_p;
     return 0;
}

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to