From fd094d7f600d7cc21e0904fcf773bef7c1d2b72e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 Oct 2007 04:51:21 -0400 Subject: [PATCH] check for word boundries --- fanboy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2