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

Re: Seeker of Regex Wisdom (strings which don't form specific patterns)

by AnomalousMonk (Archbishop)
on Aug 13, 2015 at 11:58 UTC ( [id://1138416]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "use Regexp::Common qw(net);
    ...
     print 'match' if '54321.2.3.45678' =~ m{ $RE{net}{IPv4} }xms;
    "
    match
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "use Regexp::Common qw(net);
    ...
    no match 'ADMIN__SANDRO_DESK="123.45.78.90"   #  ilcylic Desktop'
       MATCH '# ADMIN__SANDRO_DESK="123.45.78.91"   #  ilcylic Desktop (ol
    +d)'
       MATCH '# 06/06/15    SR    Chgd SANDRO 121.123.65.92'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found