Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

(OT) mysql regexp unwanted matches for specific IP

by kp2a (Sexton)
on Jan 30, 2013 at 12:01 UTC ( #1016045=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    select * from table where field regexp '^10.100.1.1'
    select * from table where field regexp '10\.100\.1\.1'
    select * from table where field regexp '10\.100\.1\.1[[:>:]]'
    select * from table where field regexp '[[:<:]]10\.100\.1\.1[[:>:]]'
    
  2. or download this
    mysql> select d07 from service where d07 regexp '^10.100.1.1';
    +------------------------------------------------+
    ...
    | 10.100.101.59 off since 2012-02-18 18:52:04    |
    
    . . .
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016045]
Approved by sundialsvc4
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-12-25 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls