Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by hippo (Priest)
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 chanting in the Monastery: (8)
As of 2015-03-29 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (630 votes), past polls