getMatches(); $orcid = $matches[1] . $matches[2] . $matches[3] . $matches[4]; import('lib.pkp.classes.validation.ValidatorISNI'); $validator = new ValidatorISNI(); return $validator->isValid($orcid); } // // Public static methods // /** * Return the regex for an ORCID check. This can be called * statically. * @return string */ static function getRegexp() { return '/^http:\/\/orcid.org\/(\d{4})-(\d{4})-(\d{4})-(\d{3}[0-9X])$/'; } } ?>