get_pattern_map
- get_pattern_map(*, include_synonyms: bool = False, remapping: Mapping[str, str] | None = None, blacklist: Collection | None = None) Mapping[str, str] [source]
Get a mapping from Bioregistry prefixes to their regular expression patterns.
- Parameters:
include_synonyms – Should synonyms of each prefix also be included as additional prefixes, but with the same URI prefix?
remapping – A mapping from bioregistry prefixes to preferred prefixes.
blacklist – Prefixes to skip
- Returns:
A mapping from prefixes to regular expression pattern strings.