all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Elston <m.elston@advantest-ard.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how can I make regexp expression effective across many lines
Date: Mon, 29 Jan 2007 15:00:27 -0800	[thread overview]
Message-ID: <12rsuu6srag2j6b@corp.supernews.com> (raw)
In-Reply-To: <mailman.3755.1170105424.2155.help-gnu-emacs@gnu.org>

* Lennart Borgman (gmail) wrote (on 1/29/2007 1:16 PM):
> Michael Chen wrote:
>> Hi, there, I have problem with newlines in regexp. Here is what I want
>> to do: delete anything between <FORM> to TIP OF THE WEEK inclusively.
>> There are many lines in between. Any regex I tried can not go through
>> the newline. Any idea? Thanks.
>>
>> Michael Chen
> 
> 
> Maybe this helps:
> 
>   http://www.emacswiki.org/cgi-bin/wiki/SymbolicRegexp
> 
> I have not looked at sregex myself, but I looked a bit at rx.el.
> 
> 

You live and learn.  I wish I had learned this *last* week! :)

Mark

  parent reply	other threads:[~2007-01-29 23:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-29 21:01 how can I make regexp expression effective across many lines Michael Chen
2007-01-29 21:16 ` Lennart Borgman (gmail)
2007-01-29 21:40 ` Drew Adams
2007-01-29 21:47   ` Drew Adams
2007-01-29 22:11 ` Peter Dyballa
     [not found] ` <mailman.3755.1170105424.2155.help-gnu-emacs@gnu.org>
2007-01-29 23:00   ` Mark Elston [this message]
     [not found] <mailman.3753.1170104495.2155.help-gnu-emacs@gnu.org>
2007-01-29 21:26 ` Pascal Bourguignon
     [not found] <mailman.3757.1170107259.2155.help-gnu-emacs@gnu.org>
2007-01-29 23:05 ` Pascal Bourguignon
2007-01-29 23:52   ` Drew Adams

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=12rsuu6srag2j6b@corp.supernews.com \
    --to=m.elston@advantest-ard.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.