Re: Match a pattern

2005-04-19 Thread José J. Cintrón
ers@perl.org |Subject: Match a pattern | | |I need to print the text between two words | that are in different |lines. | Assuming you want to get all lines between lines containing 'startword' and the next line which contains 'endword' my $word1 = qr{star

RE: Match a pattern

2005-04-19 Thread lio lop
n that word and its repetition. --- Manav Mathur <[EMAIL PROTECTED]> wrote: > > |-Original Message- > |From: lio lop [mailto:[EMAIL PROTECTED] > |Sent: Tuesday, April 19, 2005 5:44 PM > |To: beginners@perl.org > |Subject: Match a pattern > | > | > |I n

RE: Match a pattern

2005-04-19 Thread Manav Mathur
|-Original Message- |From: lio lop [mailto:[EMAIL PROTECTED] |Sent: Tuesday, April 19, 2005 5:44 PM |To: beginners@perl.org |Subject: Match a pattern | | |I need to print the text between two words | that are in different |lines. | Assuming you want to get

Re: Match a pattern

2005-04-19 Thread Peter Rabbitson
On Tue, Apr 19, 2005 at 03:32:22PM +0300, Offer Kaye wrote: > On 4/19/05, lio lop wrote: > > I need to print the text between two words > > that are in different > > lines. > > > If you have: This is a nasty, multilined chunk of text and you want to get everything

Re: Match a pattern

2005-04-19 Thread Offer Kaye
On 4/19/05, lio lop wrote: > I need to print the text between two words > that are in different > lines. > print "\n"; -- Offer Kaye -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Match a pattern

2005-04-19 Thread lio lop
I need to print the text between two words that are in different lines. _ Do You