Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: (OT) mysql regexp unwanted matches for specific IP

by hippo (Curate)
on Jan 30, 2013 at 14:41 UTC ( #1016067=note: print w/ replies, xml ) Need Help??


in reply to Re: (OT) mysql regexp unwanted matches for specific IP
in thread (OT) mysql regexp unwanted matches for specific IP

Almost there, but to match the OP's criteria you'll need an extra whitespace, so assuming the address is the first string in the field:

select * from table where field like '10.100.1.1 %';

It still has nothing to do with Perl, though.


Comment on Re^2: (OT) mysql regexp unwanted matches for specific IP
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-12-28 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (180 votes), past polls