On May 4, 2013, at 11:53 AM, Florian Huber wrote:
> On 05/04/2013 04:37 PM, Rob Dixon wrote:
>> On 04/05/2013 14:26, Florian Huber wrote:
>>>
>>>
>>
>> Hello Florian
>>
>> First a couple of points
>>
>> - Don't use named captures for simple regexes like this. They make the
>> code harder
On 05/04/2013 04:37 PM, Rob Dixon wrote:
On 04/05/2013 14:26, Florian Huber wrote:
I'm parsing a logfile and don't quite understand the behaviour of m//.
From a previous regex match I have already captured $+{'GFP'}:
use strict;
use warnings;
(...)
$text =~ m/ (?FILTERS .*? WRT)/x;# I
On 04/05/2013 14:26, Florian Huber wrote:
I'm parsing a logfile and don't quite understand the behaviour of m//.
From a previous regex match I have already captured $+{'GFP'}:
use strict;
use warnings;
(...)
$text =~ m/ (?FILTERS .*? WRT)/x;# I simply have my whole
logfile in $text - I