Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 scrutinizing the Monastery: (6)
As of 2014-12-25 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls