lib/axlsx/workbook/worksheet/table.rb in axlsx-1.1.3 vs lib/axlsx/workbook/worksheet/table.rb in axlsx-1.1.4
- old
+ new
@@ -87,10 +87,10 @@
private
# get the header cells (hackish)
def header_cells
- header = @ref.gsub(/^(\w+)(\d+)\:(\w+)\d+$/, '\1\2:\3\2')
+ header = @ref.gsub(/^(\w+?)(\d+)\:(\w+?)\d+$/, '\1\2:\3\2')
@sheet[header]
end
end
end