Permalink
Browse files

Merge pull request #19 from nono/patch-1

Improve the default regexp
  • Loading branch information...
2 parents 2241e3b + b17ae4c commit 89b396995dad5444dbfb3a40eba497b9cf66f5be @igrigorik committed Oct 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bugspots/scanner.rb
@@ -12,7 +12,7 @@ def self.scan(repo, branch = "master", depth = 500, regex = nil)
end
fixes = []
- regex ||= /fix(es|ed)?|close(s|d)?/i
+ regex ||= /\b(fix(es|ed)?|close(s|d)?)\b/i
tree = repo.tree(branch)

0 comments on commit 89b3969

Please sign in to comment.