it seems the question is as same as question #10
not the same
in #10 '' Matches zero or more of the preceding element.
but in this question '' Matches any sequence of characters (including the empty sequence).
read again you will find the different
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.