(value: Any)
| 71 | |
| 72 | def _extract_doi(value: Any) -> str: |
| 73 | text = str(value or "").strip() |
| 74 | if not text: |
| 75 | return "" |
| 76 | match = re.search(r"(10\.\d{4,9}/\S+)", text, flags=re.I) |
| 77 | return match.group(1).rstrip(")>.,; ") if match else "" |
| 78 | |
| 79 | |
| 80 | def _normalize_author_key(value: Any) -> str: |
| 81 | lowered = str(value or "").strip().casefold() |
no outgoing calls
no test coverage detected