From 32b23ef42d3ecb393e102c5f63ab5125db354435 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 5 Sep 2021 11:59:50 +0800 Subject: This closes #998 - Support text comparison in the formula, also ref #65 - `GetCellValue`, `GetRows`, `GetCols`, `Rows` and `Cols` support to specify read cell with raw value, ref #621 - Add missing properties for the cell formula - Update the unit test for the `CalcCellValue` --- sheet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sheet.go') diff --git a/sheet.go b/sheet.go index 7e15bbe..be2e964 100644 --- a/sheet.go +++ b/sheet.go @@ -880,7 +880,7 @@ func (f *File) searchSheet(name, value string, regSearch bool) (result []string, if inElement == "c" { colCell := xlsxC{} _ = decoder.DecodeElement(&colCell, &xmlElement) - val, _ := colCell.getValueFrom(f, d) + val, _ := colCell.getValueFrom(f, d, false) if regSearch { regex := regexp.MustCompile(value) if !regex.MatchString(val) { -- cgit v1.2.1