From owner-freebsd-questions Mon Oct 2 10:43: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id 2184437B503 for ; Mon, 2 Oct 2000 10:42:56 -0700 (PDT) Received: from parish ([62.253.88.161]) by mta02-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20001002184142.HZR23965.mta02-svc.ntlworld.com@parish>; Mon, 2 Oct 2000 18:41:42 +0000 Received: (from mark@localhost) by parish (8.11.0/8.11.0) id e92Hgc201906; Mon, 2 Oct 2000 18:42:38 +0100 (BST) (envelope-from mark) Date: Mon, 2 Oct 2000 18:42:36 +0100 From: Mark Ovens To: Duke Normandin Cc: freebsd-questions Subject: Re: OT - Perl regex problem Message-ID: <20001002184236.E252@parish> References: <004601c02c66$1a684020$aa9ac5d1@odie> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <004601c02c66$1a684020$aa9ac5d1@odie>; from 01031149@3web.net on Mon, Oct 02, 2000 at 05:44:10AM -0600 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > > -duke > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message