December 2018
Intermediate to advanced
702 pages
20h 9m
English
In order to search for occurrences of a regular expression through a string you should perform the following:
#include <regex> #include <string> using namespace std::string_literals;
auto pattern {R"(^(?!#)(\w+)\s*=\s*([\w\d]+[\w\d._,\-:]*)$)"s};
auto rx = std::regex{pattern}; ...Read now
Unlock full access