【leetcode 刷题日记】18-正则表达式匹配(C++)

正则表达式匹配

实在是没时间今天,日后补上!

class Solution {
public:
    bool isMatch(string s, string p) {
        return regex_match(s, regex(p));
    }
};

调库是真的强哈哈,改天一定补上补上

发布了34 篇原创文章 · 获赞 24 · 访问量 2005

猜你喜欢

转载自blog.csdn.net/fengshiyu1997/article/details/104949379