unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mirko <mvukovic@nycap.rr.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to re-search for ^"*Nanotechnology*"$
Date: Wed, 05 Sep 2007 06:18:44 -0700	[thread overview]
Message-ID: <1188998324.579180.82470@19g2000hsx.googlegroups.com> (raw)
In-Reply-To: <87lkbldzm0.fsf@orme.bigwalter.net>

On Sep 5, 9:13 am, dan...@bigwalter.net (Daniel Jensen) wrote:
> Mirko <mvuko...@nycap.rr.com> writes:
> > My attempt
> > (re-search-forward "\*[a-zA-Z ]+\*")
> > fails.
>
> Remember to use double backslashes in regexp string literals. The
> backslash is an escape character in strings, so you need to use "\\" to
> embed a backslash character in the string.
>
> Or you could use rx, which provides a symbolic regexp syntax:
>
>     (rx "*" (one-or-more (in alpha space)) "*")
>
> Some find it easier to use.
>
> > Also, if you could (please) show me how to use the [:alpha:]
> > construct.
>
> [[:alpha:]]

Thank you Daniel.

I also made some progress.  Most of the mistakes were mine (too
numerous and embarrassing to list here)

Mirko

  reply	other threads:[~2007-09-05 13:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-05 12:32 How to re-search for ^"*Nanotechnology*"$ Mirko
2007-09-05 13:02 ` Mirko
2007-09-05 13:13 ` Daniel Jensen
2007-09-05 13:18   ` Mirko [this message]
2007-09-05 13:27 ` Stephen Berman
2007-09-05 13:32 ` Eric Hanchrow
     [not found] ` <mailman.366.1188999503.18990.help-gnu-emacs@gnu.org>
2007-09-05 15:27   ` Mirko
2007-09-05 21:41     ` Eric Hanchrow
     [not found]     ` <mailman.387.1189029199.18990.help-gnu-emacs@gnu.org>
2007-09-06 12:50       ` Mirko

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1188998324.579180.82470@19g2000hsx.googlegroups.com \
    --to=mvukovic@nycap.rr.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).