Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Regular Expression Fun

by dvergin (Monsignor)
on Feb 26, 2002 at 20:31 UTC ( [id://147711]=note: print w/replies, xml ) Need Help??


in reply to Re: Regular Expression Fun
in thread Regular Expression Fun

The "push ... while" is not needed:
my $string = "this 12345567890 is a 1029384756 test"; my @results = $string =~ /\d{10}/g; print "@results\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found