LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Name.cc
Go to the documentation of this file.
1
#include "
fhiclcpp/types/Name.h
"
2
#include <regex>
3
#include <string>
4
5
namespace
fhicl
{
6
7
std::string
const
8
get_regex_replace_str
(std::string
const
& istr)
9
{
10
static
std::regex
const
r(
"\\[|\\]"
);
11
auto
ostr = std::regex_replace(istr, r,
"\\$&"
);
12
return
ostr;
13
}
14
}
15
16
// Local variables:
17
// mode: c++
18
// End:
fhicl::get_regex_replace_str
std::string const get_regex_replace_str(std::string const &istr)
Definition:
Name.cc:8
fhicl
parameter set interface
Definition:
ServiceProviderWrappers.h:37
Name.h
fhiclcpp
types
Name.cc
Generated on Wed Dec 12 2018 14:42:36 for LArSoft by
1.8.11