MCPcopy Create free account
hub / github.com/Extra-Creativity/Modern-Cpp-Basics / TokenizeTest

Function TokenizeTest

08-String & Stream/code/RegexTest.cpp:90–97  ·  view source on GitHub ↗

ctre only

Source from the content-addressed store, hash-verified

88
89// ctre only
90void TokenizeTest()
91{
92 for (auto token : ctre::tokenize<R"(\d+\.)">("127.0.0.1"))
93 std::print("ctre tokenize: {} ", token.to_view());
94 std::print("\n");
95 for (auto m : ctre::split<ctreRegex>(multiStr))
96 std::println("ctre split: {} {}", m.to_view(), m.get<1>().to_view());
97}
98
99int main()
100{

Callers 1

mainFunction · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected