944,052 Members | Top Members by Rank

Ad:
  • Perl Discussion Thread
  • Unsolved
  • Views: 1836
  • Perl RSS
Jun 25th, 2007
0

regex question

Expand Post »
Hi i'm using the Net::POP3 module for reading my email, but it doesn't feature a method that lets you get the body of the email directly.

So I have to construct a regex in order to get it.
The problem is that I can't get it right.

I want to match all lines after an empty line (aka \n\n).

What would be the correct regex?
Last edited by belhifet; Jun 25th, 2007 at 7:04 am. Reason: smiley
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
belhifet is offline Offline
6 posts
since Oct 2006
Jun 25th, 2007
0

Re: regex question

You have this question posted on another forum where it has replies.
Reputation Points: 246
Solved Threads: 67
Practically a Posting Shark
KevinADC is offline Offline
898 posts
since Mar 2006
Jun 25th, 2007
0

Re: regex question

Yes I have, but I didn't get the correct answer yet.

<deleted - keep it clean>
Last edited by happygeek; Jun 26th, 2007 at 7:31 am. Reason: offensive language using acronyms to bypass profanity filter
Reputation Points: 10
Solved Threads: 0
Newbie Poster
belhifet is offline Offline
6 posts
since Oct 2006
Jun 25th, 2007
0

Re: regex question

I thought maybe you were unaware of the replies on the other forum and I was just directing you to look there. <deleted - keep it clean>
Last edited by happygeek; Jun 26th, 2007 at 7:32 am. Reason: Offensive langauge using abbrieviations to bypass profanity filter
Reputation Points: 246
Solved Threads: 67
Practically a Posting Shark
KevinADC is offline Offline
898 posts
since Mar 2006
Jun 26th, 2007
0

Re: regex question

Click to Expand / Collapse  Quote originally posted by belhifet ...
Yes I have, but I didn't get the correct answer yet.
<deleted - keep it clean>.
Well, this is guanrteed to get you answers.

Continue in the other thread. If you don't like the answers there, then say that in the thread and ask for other possibilities, don't just simply start another thread, it's rude. But then again, I get the idea (from this post alone) that rude is your normal state of affairs. Welcome to the ignore list.
Last edited by happygeek; Jun 26th, 2007 at 7:32 am. Reason: Removal of quote containing offensive language
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Perl Forum Timeline: Perl HTTP Errors: What logfile?
Next Thread in Perl Forum Timeline: sort and delete nested directories





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC