|
|
|
|
|
by dbaupp
4293 days ago
|
|
Reproduced here: const regex r(R"(meow(\d+)\.txt)");
smatch m;
if (regex_match(dir_iter->path().filename().string(), m, r)) {
DoSomethingWith(m[1]);
}
- What's wrong with this code? - Haqrsvarq orunivbe va P++11
- Pbzcvyre reebe va P++14
- .fgevat() ergheaf n grzcbenel fgq::fgevat
- z[1] pbagnvaf vgrengbef gb n qrfgeblrq grzcbenel
(http://rot13.com/ 'd if you want to guess.) |
|
http://en.cppreference.com/w/cpp/regex/regex_match