benchmark/cmake/std_regex.cpp
Go to the documentation of this file.
1 #include <regex>
2 #include <string>
3 int main() {
4  const std::string str = "test0159";
5  std::regex re;
6  re = std::regex("^[a-z]+[0-9]+$",
7  std::regex_constants::extended | std::regex_constants::nosubs);
8  return std::regex_search(str, re) ? 0 : -1;
9 }
10 
xds_interop_client.str
str
Definition: xds_interop_client.py:487
testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
main
int main()
Definition: benchmark/cmake/std_regex.cpp:3


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:24