regex question

Reply

Join Date: Oct 2006
Posts: 6
Reputation: belhifet is an unknown quantity at this point 
Solved Threads: 0
belhifet belhifet is offline Offline
Newbie Poster

regex question

 
0
  #1
Jun 25th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: regex question

 
0
  #2
Jun 25th, 2007
You have this question posted on another forum where it has replies.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 6
Reputation: belhifet is an unknown quantity at this point 
Solved Threads: 0
belhifet belhifet is offline Offline
Newbie Poster

Re: regex question

 
0
  #3
Jun 25th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Re: regex question

 
0
  #4
Jun 25th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,335
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 250
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: regex question

 
0
  #5
Jun 26th, 2007
Originally Posted by belhifet View Post
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
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Perl Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC