help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to re-search for ^"*Nanotechnology*"$


From: Mirko
Subject: Re: How to re-search for ^"*Nanotechnology*"$
Date: Wed, 05 Sep 2007 06:02:23 -0700
User-agent: G2/1.0

On Sep 5, 8:32 am, Mirko <mvuko...@nycap.rr.com> wrote:
> Hello,
>
> how does one write the regular expression search (in elisp) to look
> for
> ^"*Nanotechnology*"$
>
> (The string is inclosed by *'s and these are the only characters on
> the line.
>
> My attempt
> (re-search-forward "\*[a-zA-Z ]+\*")
> fails.
>
> Also, if you could (please) show me how to use the [:alpha:]
> construct.
>
> Thank you very much.

To clarify, the above string is only an example.  Instead of
Nanotechnology (which is a journal name),
it could be some other string enclosed by *'s.

Mirko



reply via email to

[Prev in Thread] Current Thread [Next in Thread]