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

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

Re: Newbie regexp question


From: Barry Margolin
Subject: Re: Newbie regexp question
Date: Wed, 30 Oct 2002 19:29:54 GMT

In article <5lbs5byd89.fsf@rum.cs.yale.edu>,
Stefan Monnier  <foo@acm.com> wrote:
>> Paul Cohen <paco@enea.se> writes:
>>> I've tried a number of variants without any success. For example the
>>> following regexp doesn't work:
>>> 
>>> <!--Test-->\(.*\n\)*<!--End of Test-->
>
>It works for me

If you started with a file like:

--------------------
<!--Test-->
This should be deleted
<!--End of Test-->

This should not be deleted

<!--Test-->
This should be deleted
<!--End of Test-->
--------------------

and replaced the regexp with "", was the part that says "This should not be
deleted" deleted?

-- 
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


reply via email to

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