#include <regex> #include <iostream> using namespace std; int main() { cout << regex_match("xax", regex("a")); }