> Date: Thu, 20 Sep 2018 12:00:21 -0400 > From: John J. Xenakis <hew...@jxenakis.com> > Cc: jxenakis...@gmail.com > > If I do this: > > >>> (query-replace-regexp "[\220-\225]" "XXX") > > it does NOT work at all, and replaces nothing. ??????? > > What I want to do is find and optionally replace a range of characters > from \200 to \277. How do I do that?
Why do you insist in using octal escapes instead of using the corresponding Latin characters literally? What characters do you need to replace and why? I suspect those are raw bytes and not real characters, but I don't want to guess. IOW, please give us some more context of your real-life problem. Then we might be able to help you more efficiently.