Searched refs:print_captures (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/libs/regex/example/snippets/ |
D | captures_example.cpp | 23 void print_captures(const std::string& regx, const std::string& text) in print_captures() function 58 print_captures("(([[:lower:]]+)|([[:upper:]]+))+", "aBBcccDDDDDeeeeeeee"); in main() 59 print_captures("a(b+|((c)*))+d", "abd"); in main() 60 print_captures("(.*)bar|(.*)bah", "abcbar"); in main() 61 print_captures("(.*)bar|(.*)bah", "abcbah"); in main() 62 …print_captures("^(?:(\\w+)|(?>\\W+))*$", "now is the time for all good men to come to the aid of t… in main() 63 …print_captures("^(?>(\\w+)\\W*)*$", "now is the time for all good men to come to the aid of the pa… in main() 64 …print_captures("^(\\w+)\\W+(?>(\\w+)\\W+)*(\\w+)$", "now is the time for all good men to come to t… in main() 65 …print_captures("^(\\w+)\\W+(?>(\\w+)\\W+(?:(\\w+)\\W+){0,2})*(\\w+)$", "now is the time for all go… in main()
|
/third_party/boost/libs/regex/doc/ |
D | captures.qbk | 99 void print_captures(const std::string& regx, const std::string& text) 134 print_captures("(([[:lower:]]+)|([[:upper:]]+))+", "aBBcccDDDDDeeeeeeee"); 135 print_captures("(.*)bar|(.*)bah", "abcbar"); 136 print_captures("(.*)bar|(.*)bah", "abcbah"); 137 print_captures("^(?:(\\w+)|(?>\\W+))*$",
|