fork(16) download
  1. #include<regex>
  2. #include <iostream>
  3. using namespace std;
  4.  
  5. int main() {
  6. bool found = regex_search("<html>",regex("h.*l"));// works for "<.*>"
  7. cout<<(found?"found":"not found");
  8. return 0;
  9. }
Success #stdin #stdout 0s 3360KB
stdin
Standard input is empty
stdout
found