LArSoft
v06_85_00
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 Thu Jul 26 2018 13:09:45 for LArSoft by
1.8.11