in reply to Re^3: Greedy flip flop operator?
in thread Greedy flip flop operator?

> will end at the first empty line

Really? Can't test at the moment but an empty line shouldn't match a character class cause it requires at least one character.

Of course you could have whitespace characters, that's why I'd include \w+

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery