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