P22. Add on method regular expression argument.
Add reading memo.