readline,repl: add substring history search
Please see the individual commit messages for details.
Fixes: #28437 (closed) Fixes: #25272 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines