diff options
| author | Randy Morgan <[email protected]> | 2012-04-29 09:41:27 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-04-29 09:41:27 +0900 |
| commit | 2dfdd1f26b1fc748da3b4edad9aeeaeae842aedb (patch) | |
| tree | 0b61cd07cce94ec8cfa99c044aa722bc7d4068b3 /lib/axlsx | |
| parent | 7816e99565d79a20b6154dfb68333162c7dcdfe3 (diff) | |
| parent | 572dc19d8cd5e499dcb54b95d602ba783c65d8d1 (diff) | |
| download | caxlsx-2dfdd1f26b1fc748da3b4edad9aeeaeae842aedb.tar.gz caxlsx-2dfdd1f26b1fc748da3b4edad9aeeaeae842aedb.zip | |
Merge branch 'master' of github.com:randym/axlsx
Diffstat (limited to 'lib/axlsx')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/table.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/table.rb b/lib/axlsx/workbook/worksheet/table.rb index 2fd15966..1ed23cc5 100644 --- a/lib/axlsx/workbook/worksheet/table.rb +++ b/lib/axlsx/workbook/worksheet/table.rb @@ -89,7 +89,7 @@ module Axlsx # 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 |
