Name.cc
Go to the documentation of this file.
1 #include "fhiclcpp/types/Name.h"
2 
3 #include <regex>
4 
5 namespace {
6  std::regex const re{"\\[|\\]"};
7 }
8 
9 namespace fhicl {
12  {
13  return std::regex_replace(str, re, "\\$&");
14  }
15 }
std::string string
Definition: nybbler.cc:12
std::string get_regex_replace_str(std::string const &str)
Definition: Name.cc:11
static QCString str