|
@@ 130-132 (lines=3) @@
|
| 127 |
|
$closingName = null; |
| 128 |
|
|
| 129 |
|
while($this->position < $this->tokensCount) { |
| 130 |
|
while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_OPEN)) { |
| 131 |
|
$content .= $this->match(null, true); |
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
$this->beginBacktrack(); |
| 135 |
|
$matchedShortcodes = $this->shortcode($names); |
|
@@ 197-199 (lines=3) @@
|
| 194 |
|
$value = ''; |
| 195 |
|
|
| 196 |
|
if($this->match(self::TOKEN_DELIMITER, false)) { |
| 197 |
|
while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_DELIMITER)) { |
| 198 |
|
$value .= $this->match(null, false); |
| 199 |
|
} |
| 200 |
|
|
| 201 |
|
return $this->match(self::TOKEN_DELIMITER, false) ? $value : false; |
| 202 |
|
} |