调用函数

天生我材必有难,千金散尽还债来  •  1个月前


#include<iostream>
#include<regex>
using namespace std; 
int main(){
	string s1,s2;
	cin>>s1>>s2;
	regex re(s2);
	if(regex_match(s1,re)) cout<<"true";
	else cout<<"false";
	return 0;
}

评论:

请先登录,才能进行评论