• + 0 comments

    Use pypy3

    import re
    def check_reg(p):
        try:
            re.compile(p).match("")
            print("True")
        except:
            print("False")