|
From: | AngusC |
Subject: | regexp with match over multiple lines |
Date: | Thu, 5 May 2011 02:05:53 -0700 (PDT) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |