regexp-search added, std lib loader changes, more REadme items

This commit is contained in:
2021-02-21 14:03:14 +01:00
parent 0ba8536aa2
commit a87964f552
8 changed files with 97 additions and 40 deletions

View File

@@ -4,9 +4,11 @@
#include "ml.h"
#include <string>
#include <regex>
// Replace a substring with a replacement string in a source string
void replace_substring(std::string &src, const std::string &substr, const std::string &replacement);
// Returns true if where contains regex
bool regexp_search(const std::string &where, const std::string &regex_str);