Processing chars above \200

John J. Xenakis <[email protected]> Thu, 20 Sep 2018 12:00:21 -0400
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
If I do this:

>>> (query-replace-regexp "[a-f]" "XXX")

it works correctly, replacing the letters a-f with XXX.

If I do this:

>>> (query-replace-regexp "[\140-\145]" "XXX")

it does exactly the same thing.

If I do this:

>>> (query-replace-regexp "\224" "XXX")

it works correctly, replacing the \224 char with XXX.

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?


John