Searched refs:regexes (Results 1 – 1 of 1) sorted by relevance
/template/twigstarter/vendor/twig/twig/src/ |
H A D | Lexer.php | 35 private $regexes; variable in Twig\\Lexer 68 $this->regexes = [ 170 … preg_match_all($this->regexes['lex_tokens_start'], $this->code, $matches, \PREG_OFFSET_CAPTURE); 252 … if (preg_match($this->regexes['lex_block_raw'], $this->code, $match, 0, $this->cursor)) { 256 … } elseif (preg_match($this->regexes['lex_block_line'], $this->code, $match, 0, $this->cursor)) { 276 …if (empty($this->brackets) && preg_match($this->regexes['lex_block'], $this->code, $match, 0, $thi… 287 …if (empty($this->brackets) && preg_match($this->regexes['lex_var'], $this->code, $match, 0, $this-… 313 elseif (preg_match($this->regexes['operator'], $this->code, $match, 0, $this->cursor)) { 371 …if (!preg_match($this->regexes['lex_raw_data'], $this->code, $match, \PREG_OFFSET_CAPTURE, $this->… 395 …if (!preg_match($this->regexes['lex_comment'], $this->code, $match, \PREG_OFFSET_CAPTURE, $this->c… [all …]
|