lib/formulae/compile/formula_builder.rb in rubyfromexcel-0.0.18 vs lib/formulae/compile/formula_builder.rb in rubyfromexcel-0.0.19
- old
+ new
@@ -1,7 +1,7 @@
module TerminalNode
def to_method_name
- self.gsub(/([a-z])([A-Z])/,'\1_\2').downcase.gsub(/[^a-z0-9_]/,'_')
+ self.gsub(/([a-z])([A-Z])/,'\1_\2').downcase.gsub(/[^\p{word}]/,'_')
end
end
module RubyFromExcel
class ExcelFunctionNotImplementedError < Exception
\ No newline at end of file