|
From: | Peter Dyballa |
Subject: | Re: regexp with match over multiple lines |
Date: | Fri, 6 May 2011 00:10:55 +0200 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |