add regular expression match, it is difficult, need further thought