Lívio Cipriano wrote:
Hi,
Hello,
It's possible to build in Perl a Regular Expression to grab a pattern that extends by two lines ?
Yes it is.
I want to read a file and know if it's a email message or not, fetching the first Message-Id found. The problem is that some email clients put the Message-Id tag in one line, like this Message-Id:< something> ans others put it in two lines, like this Message-Id : <something>
Perhaps you need something like: http://search.cpan.org/~rjbs/Email-Simple-2.101/lib/Email/Simple.pm John -- Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. -- Albert Einstein -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/