#
# @lc app=leetcode.cn id=10 lang=python3
#
# [10] 正则表达式匹配

# @lc code=start
import re
class Solution:
    def isMatch(self, s: str, p: str) -> bool:
        return re.match(p + '$', s) != None
# @lc code=end
