check for word boundries
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 25 Oct 2007 08:51:21 +0000 (04:51 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 25 Oct 2007 08:51:21 +0000 (04:51 -0400)
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.010218 seconds and 4 git commands to generate.