@@ 133-135 (lines=3) @@ | ||
130 | $closingName = null; |
|
131 | ||
132 | while($this->position < $this->tokensCount) { |
|
133 | while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_OPEN)) { |
|
134 | $content .= $this->match(null, true); |
|
135 | } |
|
136 | ||
137 | $this->beginBacktrack(); |
|
138 | $matchedShortcodes = $this->shortcode($names); |
|
@@ 202-204 (lines=3) @@ | ||
199 | $value = ''; |
|
200 | ||
201 | if($this->match(self::TOKEN_DELIMITER, false)) { |
|
202 | while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_DELIMITER)) { |
|
203 | $value .= $this->match(null, false); |
|
204 | } |
|
205 | ||
206 | return $this->match(self::TOKEN_DELIMITER, false) ? $value : false; |
|
207 | } |