Regex one-liner to find several multi-line blocks of text in a single file

2012-11-01 Thread Thomas Smith
Hi, I'm trying to search a file for several matching blocks of text. A sample of what I'm searching through is below. What I want to do is match # START block # through to the next # END block # and repeat that throughout the file without matching any of the text that falls

Re: Regex one-liner to find several multi-line blocks of text in a single file

2012-11-01 Thread Paul Johnson
On Thu, Nov 01, 2012 at 12:44:08AM -0700, Thomas Smith wrote: Hi, I'm trying to search a file for several matching blocks of text. A sample of what I'm searching through is below. What I want to do is match # START block # through to the next # END block # and repeat that

Re: Regex one-liner to find several multi-line blocks of text in a single file

2012-11-01 Thread Jim Gibson
On Nov 1, 2012, at 12:44 AM, Thomas Smith wrote: Hi, I'm trying to search a file for several matching blocks of text. A sample of what I'm searching through is below. What I want to do is match # START block # through to the next # END block # and repeat that throughout

Re: my first useful program...any corrections/suggestions?

2012-11-01 Thread Thanos Zygouris
Thank you both for your suggestions. @Shlomi: It seems that i'm completely unable to implement dispatch tables here (but i now know what they are, hope to use them in the near future), so i used the given-when approach...it seemed better than endless if-elsif's. @Brandon: I'll stick with the

Re: Is comp.lang.perl dead?

2012-11-01 Thread Rui Maciel
shawn wilson wrote: i thought usenet died in '96? i got a news reader up the other day, went through some feeds and haven't opened it sense. It died just like a website dies when you stop visiting it. Rui Maciel -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional