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

Re: wanting a more explicit regex

by poolpi (Hermit)
on Feb 12, 2008 at 14:12 UTC ( [id://667568]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
          url
        /xms ? print "$_ : OK\n" : print "$_ : NOK\n";
    }
    
  2. or download this
    Output:
    a2.xyz.nota.url : OK
    c3.xy1.nota.url : OK
    b1.xyz1.nota.url : OK
    a3.xy11.nota.url : NOK
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (None)
    As of 2024-04-25 01:07 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found