finish  regular expression matching  leetcode fix issue #49