I have some URLs without http://
in a database table:
url
row #1: 10.1.127.4/
row #2: 10.1.127.4/something
Now, the following filter gives me row #2 - fine:
SELECT * FROM mytable WHERE url REGEXP '[[:<:]]10.1.127.4/something[[:>:]]'
But the following filter does not give me row #1, but shouldn't it?
SELECT * FROM mytable WHERE url REGEXP '[[:<:]]10.1.127.4/[[:>:]]'
I should note that also escaping the forward slash via backslash doesn't return the wanted row #1:
SELECT * FROM mytable WHERE url REGEXP '[[:<:]]10.1.127.4\/[[:>:]]'