9#ifdef ARP_PLATFORM_WIN32 
   11    #define ARP_COMMONS_REGEX_STL 
   12#elif defined ARP_PLATFORM_LINUX 
   13    #include <boost/regex.hpp> 
   14    #define ARP_COMMONS_REGEX_BOOST 
   16    #error "Platform is not supported" 
   23#ifdef ARP_COMMONS_REGEX_STL 
   28using std::regex_match;
 
   29using std::regex_search;
 
   30using std::regex_replace;
 
   31using std::regex_error;
 
   32using std::match_results;
 
   33using std::sregex_iterator;
 
   34namespace regex_constants = std::regex_constants;
 
   36inline size_t index_cast(
size_t value)
 
   41#elif defined ARP_COMMONS_REGEX_BOOST 
   46using boost::regex_match;
 
   47using boost::regex_search;
 
   48using boost::regex_replace;
 
   49using boost::regex_error;
 
   50using boost::match_results;
 
   51using boost::sregex_iterator;
 
   52namespace regex_constants = boost::regex_constants;
 
   54inline int index_cast(
size_t value)
 
   56    return static_cast<int>(value);
 
   60#error "Regex distribution not defined" 
Root namespace for the PLCnext API