unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* regexp with match over multiple lines
@ 2011-05-05  9:05 AngusC
  2011-05-05 10:04 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: AngusC @ 2011-05-05  9:05 UTC (permalink / raw)
  To: Help-gnu-emacs


I want to remove all instances of <![CDATA[ ... ]]> data in a file.  My
regexp works if the start and end tag is on the same line.  But not if the
end tag is not on this same line.  Is it possible to apply regex across
multiple lines.

My regex is: <\!\[CDATA\[.*\]\]> and that works if all on one line.  

What can I do?  Is this where lisp required?

Angus
-- 
View this message in context: http://old.nabble.com/regexp-with-match-over-multiple-lines-tp31548643p31548643.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-05-06 13:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-05  9:05 regexp with match over multiple lines AngusC
2011-05-05 10:04 ` Peter Dyballa
2011-05-05 16:58   ` AngusC
2011-05-05 17:02     ` Deniz Dogan
2011-05-05 18:15       ` AngusC
2011-05-05 20:05         ` PJ Weisberg
2011-05-05 22:10         ` Peter Dyballa
2011-05-06 11:10           ` AngusC
2011-05-06 12:35             ` Peter Dyballa
2011-05-06 11:20           ` AngusC
2011-05-06 13:52             ` Peter Dyballa
2011-05-05 13:08 ` ken
2011-05-05 17:28 ` Andreas Röhler
2011-05-05 18:17   ` AngusC
2011-05-06  8:27     ` Andreas Röhler

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).