From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: AngusC <anguscomber@gmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: regexp with match over multiple lines
Date: Fri, 6 May 2011 00:10:55 +0200 [thread overview]
Message-ID: <32F9F98A-EF2D-4133-AB40-13D09B5FB9B8@Web.DE> (raw)
In-Reply-To: <31552810.post@talk.nabble.com>
Am 05.05.2011 um 20:15 schrieb AngusC:
> ]]>^M
> </description>
>
> and I am using:
> <\1\[CDATA.*^J*>
If you see ^M then you should switch to some DOS or MAC encoding. But
what's puzzling me is that not all lines have ^M at the end. Does this
work: "<!\[CDATA\[[^>]+>"? I think other expressions would become too
greedy...
BTW, is this \1 what you are really using or is it a typo, actually
meaning "!"? (Which isn't special in Lisp, I think.)
--
Greetings
~ O
Pete ~~_\\_/%
~ O o
next prev parent reply other threads:[~2011-05-05 22:10 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
2011-05-05 20:05 ` PJ Weisberg
2011-05-05 22:10 ` Peter Dyballa [this message]
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=32F9F98A-EF2D-4133-AB40-13D09B5FB9B8@Web.DE \
--to=peter_dyballa@web.de \
--cc=Help-gnu-emacs@gnu.org \
--cc=anguscomber@gmail.com \
/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.