src/acdhOeaw/fedora/Fedora.php
public function getResourcesByPropertyRegEx(string $property, string $regEx,
                                                string $flags = 'i',
                                                bool $checkIfExist = true): array {
        $query = new Query();
        $query->addParameter(new MatchesRegEx($property, $regEx, $flags));
        return $this->getResourcesByQuery($query, '?res', $checkIfExist);
    }
public function getResourcesByPropertyRegEx(string $property, string $regEx,
                                                string $flags = 'i',
                                                bool $checkIfExist = true): array {
        $query = new Query();
        $query->addParameter(new MatchesRegEx($property, $regEx, $flags));
        return $this->getResourcesByQuery($query, '?res', $checkIfExist);
    }
public function getResourcesByPropertyRegEx ( string $ property , string $ regEx , string $ flags = 'i' , bool $ checkIfExist = true ) : array { $ query = new Query ( ) ; $ query -> addParameter ( new MatchesRegEx ( $ property , $ regEx , $ flags ) ) ; return $ this -> getResourcesByQuery ( $ query , '?res' , $ checkIfExist ) ; }
Finds all Fedora resources with a given RDF property matching given regular expression.

Be aware that all property values introduced during the transaction
are not taken into account (see documentation of the begin() method)

@param string $property fully qualified property URI
@param string $regEx regular expression to match against
@param string $flags regular expression flags (by default "i" - case insensitive)
@param bool $checkIfExist should we make sure resource was not deleted
during the current transaction
@return array
@see begin()
Finds all Fedora resources with a given RDF property matching given regular expression .