Exakat\Analyzer\Structures\SimplePreg::analyze PHP Метод

analyze() публичный Метод

public analyze ( )
    public function analyze()
    {
        // almost data/pcre.ini but not preg_last_error
        $functions = array('\\preg_match', '\\preg_match_all', '\\preg_replace', '\\preg_replace_callback', '\\preg_filter', '\\preg_split', '\\preg_quote', '\\preg_grep');
        $this->atomFunctionIs($functions)->outIs('ARGUMENTS')->outWithRank('ARGUMENT', 0)->atomIs('String')->regexIsNot('noDelimiter', '(?<!\\\\\\\\)[.?*+\\\\\\$\\\\^|{}()\\\\[\\\\]|]')->regexIsNot('noDelimiter', '\\\\\\\\[bBAZz]')->back('first');
        $this->prepareQuery();
    }
SimplePreg