Skip to content

Match case insensitive #8

Merged
merged 1 commit into from Dec 16, 2011
+1 −1
View
2 lib/bugspots/scanner.rb
@@ -12,7 +12,7 @@ def self.scan(repo, branch = "master", depth = 500, words = nil)
if words
message_matchers = /#{words.split(',').join('|')}/
else
- message_matchers = /fix(es|ed)|close(s|d)/
+ message_matchers = /fix(es|ed)|close(s|d)/i
end
repo.commits(branch, depth).each do |commit|
Something went wrong with that request. Please try again.