Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2016-12-04 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (64 votes). Check out past polls.