Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Regexp experts, come to rescue!

by kilinrax (Deacon)
on Feb 01, 2001 at 19:47 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found