Permalink
Browse files

Nicer regex.

  • Loading branch information...
1 parent 3027057 commit cebceaaf014486977ca30cd9b9ecc0d9e02cd1e2 @theory committed Mar 5, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 trunk/activitymail/bin/activitymail
@@ -363,7 +363,7 @@ sub get_diffs {
# Skip binary files.
next if -B $file;
# Skip any from the list passed by the user.
- if ($opt_B && $file =~ /([^.]*)$/) {
+ if ($opt_B && $file =~ /\.([^.]+)$/) {
next if $ignore{lc $1};
}
# Okay, now process this sucker.

0 comments on commit cebceaa

Please sign in to comment.