19 #ifndef REGEXCONFPARSER_HPP_ 20 #define REGEXCONFPARSER_HPP_ 34 typedef std::map<std::string, std::string> RegexMap;
37 const bool isVerbosityDebug =
false);
40 const bool isVerbosityDebug =
false);
43 const std::string& regexDesc,
44 const bool isVerbosityDebug =
false);
47 const std::string& constInput);
RegexMap readConfStreamToMap(std::istringstream &stream, const bool isVerbosityDebug)
Read a string stream and crate a RegexMap.
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.
string replaceTokens(RegexMap ®exMap, const string &constInput)
Removes tokens separated by RGX_SEPARATOR_LEFT in constInput using regexMap.