8 #ifndef REGEXCONFPARSER_HPP_
9 #define REGEXCONFPARSER_HPP_
23 typedef std::map<std::string, std::string> RegexMap;
26 const bool isVerbosityDebug =
false);
29 const bool isVerbosityDebug =
false);
32 const std::string& regexDesc,
33 const bool isVerbosityDebug =
false);
36 const std::string& constInput);
The main FOSSology C library.
void addRegexToMap(RegexMap ®exMap, const std::string ®exDesc, const bool isVerbosityDebug)
Given a single line as 'key=value' pair, create a RegexMap.
RegexMap readConfStreamToMap(std::istringstream &stream, const bool isVerbosityDebug)
Read a string stream and crate a RegexMap.
string replaceTokens(RegexMap ®exMap, const string &constInput)
Removes tokens separated by RGX_SEPARATOR_LEFT in constInput using regexMap.