Home > Back-end >  Novice boost regex for help
Novice boost regex for help

Time:09-20

 
Boost: : regex pat (" (? <==, line1). * (?=line2) ");
String card_str (", line1=aaa, line2=BBB, line3=CCC ");
Boost: : smatch mat;
Cout & lt; Cout & lt; For (size_t I=0; i{
Cout & lt; <"Match" & lt; }
Cout & lt; <"--" & lt;


Novice distress, assert that match is less than the results

CodePudding user response:

The regular expression clearly have a problem, you can not write online at http://tool.chinaz.com/regex

CodePudding user response:

reference 1st floor fengqiao1999 response:
you had problems with this regular expression obviously can not write http://tool.chinaz.com/regex online

Online testing is no problem oh

CodePudding user response:

CodePudding user response:

Isn't regex_match and regex_search problems?
  • Related