@@ 1299-1304 (lines=6) @@ | ||
1296 | $this->advance(); |
|
1297 | ||
1298 | return $result; |
|
1299 | } elseif (preg_match('/^' . self::REGEX_SHEET_TITLE_UNQUOTED . "(\:" . self::REGEX_SHEET_TITLE_UNQUOTED . ")?\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u", $this->currentToken)) { |
|
1300 | // If it's an external reference (Sheet1!A1 or Sheet1:Sheet2!A1 or Sheet1!$A$1 or Sheet1:Sheet2!$A$1) |
|
1301 | $result = $this->createTree($this->currentToken, '', ''); |
|
1302 | $this->advance(); |
|
1303 | ||
1304 | return $result; |
|
1305 | } elseif (preg_match("/^'" . self::REGEX_SHEET_TITLE_QUOTED . "(\:" . self::REGEX_SHEET_TITLE_QUOTED . ")?'\!\\$?[A-Ia-i]?[A-Za-z]\\$?[0-9]+$/u", $this->currentToken)) { |
|
1306 | // If it's an external reference ('Sheet1'!A1 or 'Sheet1:Sheet2'!A1 or 'Sheet1'!$A$1 or 'Sheet1:Sheet2'!$A$1) |
|
1307 | $result = $this->createTree($this->currentToken, '', ''); |
|
@@ 1319-1326 (lines=8) @@ | ||
1316 | $this->advance(); |
|
1317 | ||
1318 | return $result; |
|
1319 | } 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)) { |
|
1320 | // 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) |
|
1321 | // must be an error? |
|
1322 | $result = $this->createTree($this->currentToken, '', ''); |
|
1323 | $this->advance(); |
|
1324 | ||
1325 | return $result; |
|
1326 | } 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)) { |
|
1327 | // 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) |
|
1328 | // must be an error? |
|
1329 | $result = $this->createTree($this->currentToken, '', ''); |