src/Cortex/Tags/Tag.php
protected function getMatches($source)
    {
        if ($this->hasMatches($source)) {
            preg_match_all($this->pattern, $source, $matches, PREG_SET_ORDER);

            return $matches;
        }
    }
protected function getMatches($source)
    {
        if ($this->hasMatches($source)) {
            preg_match_all($this->pattern, $source, $matches, PREG_SET_ORDER);

            return $matches;
        }
    }
protected function getMatches ( $ source ) { if ( $ this -> hasMatches ( $ source ) ) { preg_match_all ( $ this -> pattern , $ source , $ matches , PREG_SET_ORDER ) ; return $ matches ; } }
Get the regular expression matches from the source.

@param string $source

@return array
Get the regular expression matches from the source .