@@ 1258-1264 (lines=7) @@ | ||
1255 | $this->advance(); |
|
1256 | ||
1257 | return $result; |
|
1258 | } elseif (preg_match('/^' . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u", $this->currentToken)) { |
|
1259 | // If it's an external reference (Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1) |
|
1260 | $result = $this->createTree($this->currentToken, '', ''); |
|
1261 | $this->advance(); |
|
1262 | ||
1263 | return $result; |
|
1264 | } elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u", $this->currentToken)) { |
|
1265 | // If it's an external reference ('Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1) |
|
1266 | $result = $this->createTree($this->currentToken, '', ''); |
|
1267 | $this->advance(); |
|
@@ 1278-1285 (lines=8) @@ | ||
1275 | $this->advance(); |
|
1276 | ||
1277 | return $result; |
|
1278 | } elseif (preg_match('/^' . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u", $this->currentToken)) { |
|
1279 | // If it's an external range (Sheet1!A1:B2 or Sheet1:Sheet2!A1:B2 or Sheet1!$A$1:$B$2 or Sheet1:Sheet2!$A$1:$B$2) |
|
1280 | // must be an error? |
|
1281 | $result = $this->createTree($this->currentToken, '', ''); |
|
1282 | $this->advance(); |
|
1283 | ||
1284 | return $result; |
|
1285 | } elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+:\\$?([A-Ia-i]?[A-Za-z])?\\$?[0-9]+$/u", $this->currentToken)) { |
|
1286 | // If it's an external range ('Sheet1'!A1:B2 or 'Sheet1'!A1:B2 or 'Sheet1'!$A$1:$B$2 or 'Sheet1'!$A$1:$B$2) |
|
1287 | // must be an error? |
|
1288 | $result = $this->createTree($this->currentToken, '', ''); |