check for word boundries
[filters.git] / fanboy
diff --git a/fanboy b/fanboy
index 0877bd063af9561673d6eb9fd180f9bab3e0ddae..751ba3d904bd9eef363df41d099d100db194e502 100755 (executable)
--- a/fanboy
+++ b/fanboy
@@ -23,7 +23,7 @@ my $total_awesomeness_dude=join("|",
                $_=quotemeta($_);
                s/\\\*/.*/g;
                s/\\\?/./g;
-               $_;
+               qr/\b$_\b/;
        } reverse sort @ARGV);
 
 my $len=0;
This page took 0.009403 seconds and 4 git commands to generate.