Lines Matching defs:regex
24 /** @var string the compound regex matching all patterns */
25 protected $regex;
43 * @param mixed $pattern Perl style regex. Must be UTF-8
48 * @param bool|string $label Label of regex to be returned
56 $this->regex = null;
136 * "or" operator. Caches the regex.
143 if ($this->regex == null) {
188 $this->regex = "/" . implode("|", $this->patterns) . "/" . $this->getPerlMatchingFlags();
190 return $this->regex;
194 * Accessor for perl regex mode flags to use.
195 * @return string Perl regex flags.