597d5d5d by 周伟奇

fix zhifubao date

1 parent 756e96a8
......@@ -68,7 +68,7 @@ class BSWorkbook(Workbook):
header_col = header_dict.get(header_value)
if header_col is None:
for pattern in consts.PATTERN_LIST:
if re.search(pattern, header_value):
if re.search(pattern, header_value) and len(header_value) - len(pattern) <= 5:
header_col = header_dict.get(pattern)
break
return header_col
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!