group file extension regexp
Chris Wanstrath chris@ozmm.org
Sat, 31 Oct 2009 11:22:22 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
lib/github/markup.rb
→
lib/github/markup.rb
@@ -38,7 +38,7 @@ end
def renderer(filename) @@markups.each do |key, value| - if Regexp.compile("#{key}$") =~ filename + if Regexp.compile("(#{key})$") =~ filename return value end end