From 923c225ff65ac6b61004b2588a66b901b8cdb48b Mon Sep 17 00:00:00 2001 From: yaoyuan Date: Fri, 9 Oct 2020 12:28:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20regex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/excelJS_helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/excelJS_helper.js b/scripts/excelJS_helper.js index c02ad55..b3afb8c 100644 --- a/scripts/excelJS_helper.js +++ b/scripts/excelJS_helper.js @@ -136,7 +136,7 @@ */ _self.parseCelltoCoordinate = function (tag) { - let re = /([A-Za-z])(\d+)/; + let re = /([A-Za-z]+)(\d+)/; let match = tag.match(re); return new _self.CellCoordinate(_self.getIdxByAlphbet(match[1]), parseInt(match[2]) - 1);