Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Matching data against non-consecutive range

by Popcorn Dave (Abbot)
on Jan 27, 2005 at 05:00 UTC ( [id://425464]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    
    my $num = "34";
    print "Found it!\n" if $num =~/[$z8]/;
    
  2. or download this
    Invalid [] range "6-3" in regex; marked by <-- HERE in m/[10-374,376-3
    + <-- HERE 79,382-385,388-499,530-534,541-543,618,619,700-704,707-709]
    +/
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://425464]
Approved by Mr. Muskrat
Front-paged by grinder
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: (2)
As of 2024-04-26 00:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found