MySQL wildcard return only matches with hyphen and number
===

In my database I have the following rows which will increment if it's a duplicate:

foo <br> 
foo-1 <br>
foo-2 <br>
foo-3 <br>
f<br>
f-1 <br>
f-2<br>
f-3<br>
bar<br>
bar-1


I want to query the db and get the **last f-#**. I've tried using the LIKE operator below:

    SELECT * FROM links WHERE slug LIKE '$slug%' ORDER BY timestamp DESC LIMIT 1";

**My Problem**<br>
If $slug == f it returns foo-3 rather than f-3. Is there a better way to use the % wildcard?


