[算法导论] 正则匹配 . *
正则匹配 要注意是否是完整匹配字符串
https://leetcode.cn/problems/regular-expression-matching/solutions/295977/zheng-ze-biao-da-shi-pi-pei-by-leetcode-solution/
print(is_match('abcdef', 'ab')) # True print(is_match('abcdef', 'bd')) # False print(is_match('abcdef', 'b.d')) # True print(is_match('abcdef', 'b*p')) # False print(is_match('abcdef', 'abc.e*f')) # True - 新测试用例 print(is_match('abcdef', 'abc.e*b')) # False - 新测试用例 print(is_match('abcdef', 'abc*****')) # True - 新测试用例