error while using regex_replace function from

后端 未结 2 713
后悔当初
后悔当初 2021-01-20 05:18
#include 
#include 

#include \"TextProcessing.h\"

const std::string URL_PATTERN(\"((http://)[-a-zA-Z0-9@:%_\\\\+.~#?&//=]+)\");
         


        
相关标签:
2条回答
  • 2021-01-20 05:25

    Your standard C++ library does not have complete c++0x (now c++1x?) support. Try using Boost's code. See also this answer.

    0 讨论(0)
  • 2021-01-20 05:33

    Yup, in my g++ include files I also see that regex_replace is declared and not defined. For me, it's in the file /usr/include/c++/4.4.4/tr1_impl/regex . Just above the declaration is a Doxygen comment section which includes:

    /** @todo Implement this function. */
    
    0 讨论(0)
提交回复
热议问题