bobf32@gmail.com writes:
> Sorry, that was a typo. I set search-invisible, not org-search-invisible.
Then, I am unable to reproduce using
1. emacs -Q /your/example.org
2. Fold everything
3. M-<
4. M-: (setq search-invisible nil)
5. M-x replace-regexp <RET> ^\* [BC] <RET> foo
Also, be aware of https://github.com/emacs-evil/evil/issues/1630
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>