feat: transform the match text from string to regex

Close #3