Home
last modified time | relevance | path

Searched refs:print_captures (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/regex/example/snippets/
Dcaptures_example.cpp23 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()
62print_captures("^(?:(\\w+)|(?>\\W+))*$", "now is the time for all good men to come to the aid of t… in main()
63print_captures("^(?>(\\w+)\\W*)*$", "now is the time for all good men to come to the aid of the pa… in main()
64print_captures("^(\\w+)\\W+(?>(\\w+)\\W+)*(\\w+)$", "now is the time for all good men to come to t… in main()
65print_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/
Dcaptures.qbk99 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+))*$",