fixed no regex match bug.