in reply to how to express $temp =~ s/.*?from://; in perl 4
Prints "nowhere".$temp = "notfrom:nowhere"; # Match zero or more non-f characters followed by "from:" $temp =~ s/[^f]*from://; print "$temp\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: how to express $temp =~ s/.*?from://; in perl 4
by merlyn (Sage) on Jul 30, 2000 at 22:32 UTC |