all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mark S" <throaway@yahoo.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Do POSIX classes work in regular expression searches?
Date: Fri, 22 Jul 2011 17:12:02 -0800	[thread overview]
Message-ID: <op.vy1sacw6zpgdil@hermione2008.sd.cox.net> (raw)


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?

Thanks,
Mark

GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600)
  of 2010-05-08 on G41R2F1



             reply	other threads:[~2011-07-23  1:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23  1:12 Mark S [this message]
2011-07-23  0:24 ` Do POSIX classes work in regular expression searches? Perry Smith
  -- strict thread matches above, loose matches on Subject: below --
2011-07-23  3:19 Mark S
2011-07-23  7:14 ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.vy1sacw6zpgdil@hermione2008.sd.cox.net \
    --to=throaway@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.