On Jul 22, 2011, at 8:12 PM, Mark S wrote:
I've been trying to do some simple searches like:
(query-replace-regexp "<span[:ascii:]*?</span>+" "test")
or even the simpler
(query-replace-regexp "[:ascii:]*" "test")
and not getting anywhere. Emacs just looks for the characters ":acis"
-- not for the POSIX character set of all ASCII characters. Trying it
with other sets also got me nowhere. These character classes are listed
in the Emacs documentation -- is there a trick to getting them to work?
Looks like you need two sets of brackets?
[[:ascii:]]*