Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Regexp experts, come to rescue!

by arturo (Vicar)
on Feb 01, 2001 at 21:16 UTC ( [id://55750]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @patterns = qw(-[45j]{2} [1-3][a46]u);
    my $pat_string = join "|", @patterns;
    if ($MType =~ /^$pat_string/oi) {
        # do stuff
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found