From: Joey Hess Date: Thu, 25 Oct 2007 08:51:21 +0000 (-0400) Subject: check for word boundries X-Git-Tag: 2.43~2 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=fd094d7f600d7cc21e0904fcf773bef7c1d2b72e;p=filters.git check for word boundries --- diff --git a/fanboy b/fanboy index 0877bd0..751ba3d 100755 --- 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;