Skip to content

Commit

Permalink
Nicer regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Mar 5, 2004
1 parent 3027057 commit cebceaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/activitymail/bin/activitymail
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cebceaa

Please sign in to comment.