更新 regex

This commit is contained in:
2020-10-09 12:28:47 +08:00
parent 86ce38d816
commit 923c225ff6

View File

@@ -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);