Sha256: 0fa3924afd4a383fabbfe2948a4df87869998bb1b3e7d50c3210dfbda8c9757d
Contents?: true
Size: 259 Bytes
Versions: 2
Compression:
Stored size: 259 Bytes
Contents
#include <regex> #include <string> int main() { const std::string str = "test0159"; std::regex re; re = std::regex("^[a-z]+[0-9]+$", std::regex_constants::extended | std::regex_constants::nosubs); return std::regex_search(str, re) ? 0 : -1; }
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simdjson-0.3.0 | vendor/simdjson/dependencies/benchmark/cmake/std_regex.cpp |
simdjson-0.3.0 | vendor/simdjson/dependencies/json/benchmarks/thirdparty/benchmark/cmake/std_regex.cpp |