Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by merlyn (Sage)
on Jul 30, 2000 at 22:32 UTC ( [id://25175]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://25175]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-14 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found