http://qs321.pair.com?node_id=25175


in reply to Re: how to express $temp =~ s/.*?from://; in perl 4
in thread how to express $temp =~ s/.*?from://; in perl 4

That's not the same as finding the nearest match:
$text = "fanny farmer from: big sky";
There's no trivial way to say "a string of text that doesn't contain FROM" in Perl 4 regex. There are many wrong ways that people attempt. :)

-- Randal L. Schwartz, Perl hacker