From owner-freebsd-questions Mon Oct 2 19:21:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.cybersurf.net (smtp2.cybersurf.net [209.197.145.112]) by hub.freebsd.org (Postfix) with ESMTP id C9BA437B503; Mon, 2 Oct 2000 19:21:50 -0700 (PDT) Received: from odie ([209.197.153.94]) by smtp2.cybersurf.net (Netscape Messaging Server 4.15) with SMTP id G1U18C00.EKF; Mon, 2 Oct 2000 20:21:48 -0600 Message-ID: <000201c02ce1$289e4a60$5e99c5d1@odie> Reply-To: "Duke Normandin" From: "Duke Normandin" <01031149@3web.net> To: "Mark Ovens" , "Duke Normandin" Cc: "freebsd-questions" Subject: Re: OT - Perl regex problem Date: Mon, 2 Oct 2000 19:56:38 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, October 02, 2000 11:43 AM Mark Ovens wrote: >On Mon, Oct 02, 2000 at 05:44:10AM -0600, Duke Normandin wrote: >> Hi.. >> >> This is a Perl5 regex from some PD utility: >> >> $email =~ s/^.*?(From|Received|Sender|Return-Path|Date):/$1:/s; >> >> I want to do it in Perl4 -- don't ask why ;) -- but it pukes on >> the ^.*? stuff. Something about "nested" whatever. Could somebody >> explain this ^.*? to me or point me to an appropriate mailing list? >> Tia... > >Try comp.lang.perl.misc on Usenet. Thanks for the help! -duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message