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

Function has_number_token

scripts/lint_note.py:1339–1340  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

1337
1338
1339def has_number_token(text: str) -> bool:
1340 return bool(re.search(r"\d+(?:\.\d+)?\s*(?:%|%|[A-Za-z\u4e00-\u9fff]{0,8})", text))
1341
1342
1343def is_honest_missing_declaration(text: str) -> bool:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected