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

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

Re: regexp with match over multiple lines


From: AngusC
Subject: Re: regexp with match over multiple lines
Date: Thu, 5 May 2011 11:15:39 -0700 (PDT)


Deniz Dogan-3 wrote:
> 
> 2011/5/5 AngusC <anguscomber@gmail.com>:
>> I can insert C-1 C-j and that works but only for the number of carriage
>> returns I enter.  If this is variable then this means I would have to
>> rerun
>> with eg 2 crs, 3crs, etc.  How can I specify that the C-q C-j can be
>> repeated any number of times?
>>
> 
> C-q C-j * (will look like ^J* at least in my Emacs)
> 
> 
> 

I have this:

    <description>
      <![CDATA[^M
     some text^M
     and some more^M
       ]]>^M
    </description>

and I am using:
 <\1\[CDATA.*^J*>

But it doesn't make any replacement.  I used C-q C-j - ie typed those keys
when entering.


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




reply via email to

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