Date: 03 Oct 2000 11:35:16 +0200 From: Dmitry Karasik <dk@plab.ku.dk> To: "freebsd-questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: OT - Perl regex problem Message-ID: <uzokmclnv.fsf@plab.ku.dk> In-Reply-To: "Duke Normandin"'s message of "Mon, 2 Oct 2000 05:44:10 -0600" References: <004601c02c66$1a684020$aa9ac5d1@odie>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Duke! On 02 Oct 00 at 05:44, "Duke" (Duke Normandin) wrote: Duke> Hi.. This is a Perl5 regex from some PD utility: Duke> $email =~ s/^.*?(From|Received|Sender|Return-Path|Date):/$1:/s; Duke> I want to do it in Perl4 -- don't ask why ;) -- but it pukes on the Duke> ^.*? stuff. Something about "nested" whatever. Could somebody Duke> explain this ^.*? to me or point me to an appropriate mailing list? Duke> Tia... man perlre -- Sincerely, Dmitry --- www.karasik.eu.org --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?uzokmclnv.fsf>