Getting ready

For general information about regular expressions support in C++11, refer to the Verifying the format of a string using regular expressions recipe. Basic knowledge of regular expressions is required for proceeding with this recipe.

In the following examples, text is a variable defined as shown here:

    auto text { 
R"(
#remove # to uncomment the following lines
timeout=120
server = 127.0.0.1

#retrycount=3
)"s};
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset