class Rouge::Lexers::Nim
def self.underscorize(words)
def self.underscorize(words) words.map do |w| w.gsub(/./) { |x| "#{Regexp.escape(x)}_?" } end.join('|') end
def self.underscorize(words) words.map do |w| w.gsub(/./) { |x| "#{Regexp.escape(x)}_?" } end.join('|') end