From owner-freebsd-questions Mon Oct 2 4:41: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.cybersurf.net (smtp1.cybersurf.net [209.197.145.111]) by hub.freebsd.org (Postfix) with ESMTP id EC2FE37B502 for ; Mon, 2 Oct 2000 04:41:02 -0700 (PDT) Received: from odie ([209.197.154.170]) by smtp1.cybersurf.net (Netscape Messaging Server 4.15) with SMTP id G1SWG700.BJR for ; Mon, 2 Oct 2000 05:40:55 -0600 Message-ID: <004601c02c66$1a684020$aa9ac5d1@odie> Reply-To: "Duke Normandin" From: "Duke Normandin" <01031149@3web.net> To: "freebsd-questions" Subject: OT - Perl regex problem Date: Mon, 2 Oct 2000 05:44:10 -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 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... -duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message