来抖个小机灵
import re string=input() pat=input() res=re.fullmatch(pat, string) if res!=None: print('true') else: print('false')