in reply to how to extract text between 2 strings on separate lines

A couple of other nits:

Update:Fixed "flop" typo (Thanks, LanX)

             When in doubt, mumble; when in trouble, delegate; when in charge, ponder. -- James H. Boren

  • Comment on Re: how to extract text between 2 strings on separate lines

Replies are listed 'Best First'.
Re^2: how to extract text between 2 strings on separate lines
by ozosan (Initiate) on Nov 14, 2013 at 09:36 UTC

    Thank you very much for your help indeed there was a precedence issue so $record =~ /^start\b$/ .. $record =~ /^end\b$/ fixed the issue...many thanks indeed. and as for the "\b" in the regex yes you are right its not needed, thank you.