Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Speed of Perl Regex Engine

by Jenda (Abbot)
on Nov 29, 2012 at 16:43 UTC ( #1006298=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     my $regexp = @ARGV[1];
     ...
     next if ($global =~ /$regexp/);
     ...
    
  2. or download this
     my $regexp = @ARGV[1];
     ...
     next if ($global =~ /$regexp/o);
     ...
    
  3. or download this
     my $regexp = qr/@ARGV[1]/;
     ...
     next if ($global =~ $regexp);
     ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-09-29 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (547 votes). Check out past polls.