Bob Showalter wrote at Wed, 31 Jul 2002 21:34:02 +0200:
>> > $\ = "\n";
>> > $date = "20020731";
>> > print join "/", ($date =~ /(\d{4})(\d{2})(\d{2})/)[1,2,0];
>> # this works
>> > print join "/", ($date =~ /(\d{4})(\d{2}){2}/)[1,2,0]; #
>> this doesn't
>> >
>> The second pattern matches only these 12 days in a year:
>> .....
>
> Huh?
Oops, forget what I wrote.
I just read too quick and so I read it as something
like (\d{4})(\d{2})\1
Bye,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]