MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / is_probable_url

Function is_probable_url

scripts/common.py:334–335  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

332
333
334def is_probable_url(text: str) -> bool:
335 return bool(re.match(r"^https?://", (text or "").strip(), flags=re.IGNORECASE))
336
337
338def is_probable_zotero_key(text: str) -> bool:

Callers 1

infer_source_typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected