Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2000 05:44:10 -0600
From:      "Duke Normandin" <01031149@3web.net>
To:        "freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   OT - Perl regex problem
Message-ID:  <004601c02c66$1a684020$aa9ac5d1@odie>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004601c02c66$1a684020$aa9ac5d1>