diff --git a/lib/commands/get.pm b/lib/commands/get.pm
index f55c8aae419bd914ef758b7a9df9a18039fcaf1c..87b80aaf49d005cf8b33aa72ea3d99bf6d0551be 100644
--- a/lib/commands/get.pm
+++ b/lib/commands/get.pm
@@ -24,7 +24,7 @@ sub exec {
     my $req;
     my $sth;
 
-    my @words = ($msg =~ /([a-zA-Z0-9_-]+)/g);
+    my @words = ($msg =~ /(?:^| )([a-zA-Z0-9_-]+)/g);
     my @words_param;
     while ($msg =~ /([a-zA-Z0-9_-]+)/g) {
         unshift @words_param, '%'.$1.'%';