Refactoring. Part 1. Added quick-repl-history-regexp-search