Lines Matching refs:current
23 used rather then the current value. */
29 const REPLACE = 4; /**< Mode: Replace the input key or current */
38 private $current; /**< the value used for current() */
61 * Match current or key against regular expression using mode, flags and
72 $this->current = parent::current();
73 /* note that we use $this->current, rather than calling parent::current() */
74 $subject = ($this->flags & self::USE_KEY) ? $this->key : $this->current;
81 $this->current = array();
82 return preg_match($this->regex, $subject, $this->current, $this->preg_flags) > 0;
85 $this->current = array();
86 return preg_match_all($this->regex, $subject, $this->current, $this->preg_flags) > 0;
89 $this->current = array();
90 preg_split($this->regex, $subject, $this->current, $this->preg_flags) > 1;
93 $this->current = array();
101 $this->current = $result;
113 /** @return the current value after accept has been called
115 function current()
117 return $this->current;
120 /** @return current operation mode
134 /** @return current operation flags
148 /** @return current PREG flags
162 /** @return current regular expression