Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Match case insensitive #8

Merged
merged 1 commit into from

2 participants

@rumpl

The scanner didn't recognise things like "Fixes".

@igrigorik igrigorik merged commit db13303 into igrigorik:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 16, 2011
  1. @rumpl

    Match case insensitive

    rumpl authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bugspots/scanner.rb
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.