Код: Выделить всё
(?.*)
Код: Выделить всё
#include
#include
using namespace std::regex_constants;
int main() {
try {
std::regex regex("(?.*)", ECMAScript);
}
catch (std::regex_error const& e) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79831512/how-to-access-named-capture-groups-in-c[/url]
Мобильная версия