all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Regular expression with re-search-forward...
Date: Sat, 4 Feb 2006 13:59:27 +0100	[thread overview]
Message-ID: <246655A2-E435-48AC-BCE3-12B2BBE03410@Web.DE> (raw)
In-Reply-To: <OF3E271970.2B06FE2F-ONC125710A.00555FD1@Selex-Comms.com>


Am 03.02.2006 um 16:37 schrieb luca.spinacci@selex-comms.com:

> I'm poorly skillled with regular expression and I'd like to use
> re-search-forward so that I can read MY_TYPE
> as follow:
> #define MY_TYPE   value
>                 ^^^^^^^^^
> and
> } MY_TYPE;
>    ^^^^^^^^^

I would type: ESC C-s MY_TYPE RET. Or do you think of ESC C-s [A-Z]+_ 
[A-Z]+[ ;] RET?

You don't explain enough what you intend to find ...

--
Greetings

   Pete
               <\
                 \__     O                       __O
                 | O\   _\\/\-%                _`\<,
                 '()-'-(_)--(_)               (_)/(_)

      parent reply	other threads:[~2006-02-04 12:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-03 15:37 Regular expression with re-search-forward luca.spinacci
2006-02-03 22:50 ` Harry Putnam
2006-02-04 12:59 ` Peter Dyballa [this message]

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=246655A2-E435-48AC-BCE3-12B2BBE03410@Web.DE \
    --to=peter_dyballa@web.de \
    --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.