3 4 5
# File 'lib/apdown.rb', line 3 def self.parse_regex(type) /(\{#{type}_(\d{1,2})_?(\w+)?\})/i end