-
- // TODO: use this from gcc4.9.0: http://stackoverflow.com/questions/8060025/is-this-c11-regex-error-me-or-the-compiler
-/*
- std::string s_from = "hop-by-hop-id=\"[0-9]+\" end-to-end-id=\"[0-9]+\"";
- std::string s_to = s_from;
- std::string s_from2 = "avp name=\"Origin-State-Id\" data=\"[0-9]+\"";
- std::string s_to2 = s_from2;
-
- try {
- regexp = std::regex_replace (regexp, std::regex(s_from), s_to);
- regexp = std::regex_replace (regexp, std::regex(s_from2), s_to2);
- }
- catch (const std::regex_error& e) {
- throw anna::RuntimeException(e.what(), ANNA_FILE_LOCATION);
- }
-
-*/