Hi, I was going through my code which is accepted by OJ. However, I found one case which should return False get an True from my code. . Hope the OJ could add that case in the future
If my understanding of the problem is correct, ".*.." should match any strings with length longer than two, but not strings with length 1.
Hi, if it is not too trouble, could you add more test cases? It just occurred to me that ".* ..a* " should match any expression that matches ".* .."
So I think it is interesting to add the test cases: "a" vs ".* ..a* ". , "ab" vs ".* ..", "ab" vs ".* ..c* ". etc.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.