On Wed, 21 May 2014, Ian Zimmerman wrote:
On Wed, 21 May 2014 19:08:51 +0100
Martin Gregorie <mar...@gregorie.org> wrote:
rawbody __LOCAL_MUCHO_BLANKS /\n{10,}/m
Martin> Looking for newlines rather than whitespace? Does /\s{10,}/m
Martin> work any better?
Nope, it doesn't :-( Anyway, looking for newlines was my intention,
sorry for the misleading nomenclature. But I guess that is irrelevant
as neither variant works.
Try this:
rawbody __LOCAL_MUCHO_BLANKS /\n\n\n\n\n\n\n\n\n\n/m
The repetition operator might not work properly on newlines in a multiline
match, and the above worked in a quick test here.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
...the good of having the government prohibited from doing harm
far outweighs the harm of having it obstructed from doing good.
-- Mike@mike-istan
-----------------------------------------------------------------------
5 days until Memorial Day - honor those who sacrificed for our liberty