Lines Matching refs:preg_match

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…
238 if (preg_match('/\s+/A', $this->code, $match, null, $this->cursor)) {
247 if (preg_match($this->regexes['operator'], $this->code, $match, null, $this->cursor)) {
252 elseif (preg_match(self::REGEX_NAME, $this->code, $match, null, $this->cursor)) {
257 elseif (preg_match(self::REGEX_NUMBER, $this->code, $match, null, $this->cursor)) {
287 elseif (preg_match(self::REGEX_STRING, $this->code, $match, null, $this->cursor)) {
292 elseif (preg_match(self::REGEX_DQ_STRING_DELIM, $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)) {
339 …} elseif (preg_match(self::REGEX_DQ_STRING_PART, $this->code, $match, null, $this->cursor) && \str…
342 … } elseif (preg_match(self::REGEX_DQ_STRING_DELIM, $this->code, $match, null, $this->cursor)) {
359 …if ($this->options['interpolation'][0] === $bracket[0] && preg_match($this->regexes['interpolation…