public function getMatches( $regex, $expression, $group = 1 ) {
		if ( preg_match_all(
			'/' . $this->resolveMagic( $regex ) . '/',
			$this->escapeSequences( $expression ),
			$matches
		) ) {
			return $matches[$group];
		}

		return array();
	}