Lines Matching refs:regexes
36 protected $regexes; variable in Twig\\Lexer
68 $this->regexes = [
114 … preg_match_all($this->regexes['lex_tokens_start'], $this->code, $matches, PREG_OFFSET_CAPTURE);
191 … if (preg_match($this->regexes['lex_block_raw'], $this->code, $match, null, $this->cursor)) {
195 …} elseif (preg_match($this->regexes['lex_block_line'], $this->code, $match, null, $this->cursor)) {
215 …if (empty($this->brackets) && preg_match($this->regexes['lex_block'], $this->code, $match, null, $…
226 …if (empty($this->brackets) && preg_match($this->regexes['lex_var'], $this->code, $match, null, $th…
247 if (preg_match($this->regexes['operator'], $this->code, $match, null, $this->cursor)) {
309 …if (!preg_match(str_replace('%s', $tag, $this->regexes['lex_raw_data']), $this->code, $match, PREG…
325 …if (!preg_match($this->regexes['lex_comment'], $this->code, $match, PREG_OFFSET_CAPTURE, $this->cu…
334 … if (preg_match($this->regexes['interpolation_start'], $this->code, $match, null, $this->cursor)) {
359 …if ($this->options['interpolation'][0] === $bracket[0] && preg_match($this->regexes['interpolation…