Validate DOI format
(self, doi: str)
| 187 | return identified_entry |
| 188 | |
| 189 | def _validate_doi(self, doi: str) -> bool: |
| 190 | """Validate DOI format""" |
| 191 | doi_pattern = r'^10\.\d{4,}/.+' |
| 192 | return bool(re.match(doi_pattern, doi)) |
| 193 | |
| 194 | def _is_datacite_doi(self, doi: str) -> bool: |
| 195 | """Check if DOI is registered with DataCite (not CrossRef).""" |
no outgoing calls
no test coverage detected