Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Regexp experts, come to rescue!

by kilinrax (Deacon)
on Feb 01, 2001 at 19:47 UTC ( #55720=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($MType =~ /-[45][15j]/ig  || 
        $_     =~ /[123][a46]u/ig ||
    ...
    } else {    
          print "\"#CCFFCC\"";
    }
    
  2. or download this
    my %matches;
    foreach (qw( -41 -55 -jj 1au 24u 36u)) {
    ...
    } else {
        print "\"#CCFFCC\"";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2022-07-04 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?