Steve Bertrand wrote:
> Perl hackers -- Figured someone would have a reasonably quick, easy answer
> for this:
>
> I am trying to read through a file, line-by-line, and I want to extract
> the text in between the [ and ] characters. I would normally half the line
> by split() - ing the line first
> On Fri, 23 Jul 2004, Steve Bertrand wrote:
>
>> Perl hackers -- Figured someone would have a reasonably quick, easy
>> answer
>> for this:
>>
>> I am trying to read through a file, line-by-line, and I want to extract
>> the text in between the [ and ] characters.
>
> This is a job for..captur
y 23, 2004 10:32 AM
> To: [EMAIL PROTECTED]
> Subject: Perl split() question (OT)...
>
> Perl hackers -- Figured someone would have a reasonably quick, easy
answer
> for this:
>
> I am trying to read through a file, line-by-line, and I want to
extract
> the text in betwe
On Fri, 23 Jul 2004, Steve Bertrand wrote:
> Perl hackers -- Figured someone would have a reasonably quick, easy answer
> for this:
>
> I am trying to read through a file, line-by-line, and I want to extract
> the text in between the [ and ] characters.
This is a job for..capturing parens!!!
Perl hackers -- Figured someone would have a reasonably quick, easy answer
for this:
I am trying to read through a file, line-by-line, and I want to extract
the text in between the [ and ] characters. I would normally half the line
by split() - ing the line first by [ as follows:
if ($log