From: AngusC <anguscomber@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: regexp with match over multiple lines
Date: Thu, 5 May 2011 11:15:39 -0700 (PDT) [thread overview]
Message-ID: <31552810.post@talk.nabble.com> (raw)
In-Reply-To: <BANLkTi=ksV3PpvxMfwYQAfA_wJZVn+Q5+g@mail.gmail.com>
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.
next prev parent reply other threads:[~2011-05-05 18:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=31552810.post@talk.nabble.com \
--to=anguscomber@gmail.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.