Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 meditating upon the Monastery: (6)
As of 2014-08-23 19:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls