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 
main
int main()
Definition: std_regex.cpp:3
string
GLsizei const GLchar *const * string
Definition: glcorearb.h:3083
update_failure_list.str
str
Definition: update_failure_list.py:41


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:59