Files
doczyai-pipelines/fieldExtraction/constants/regex_patterns.py
T
Katon Minhas c4e519894b Merged in refactor/one-time-io (pull request #648)
Refactor/one time io

* Delete client work

* Streamline imports

* Fix list class

* Update tests

* Clear code funcs test

* Fix unit tests

* Single read code funcs

* Single-read model

* Single-load embeddings

* Successful E2E test

* update unit tests

* Update importsg

* Reload poetry.lock

* remove old exhibit header function

* Remove aarete_derived generic function

* remove align and format tables

* Remove strings to dict

* references

* Clear code

* Move preprocessing_funcs

* remove keywords

* refactor postprocessing_funcs

* Pass unit test - remove qa_qc directory

* Black and isort

* remove print


Approved-by: Alex Galarce
2025-08-05 20:46:19 +00:00

9 lines
258 B
Python

# Delimiter Patterns
PIPE_PATTERN = r"\|([^|]+)\|"
BACKTICK_PATTERN = r"`([^`]+)`"
TRIPLE_BACKTICK_PATTERN = r"```([^`]+)```"
# TIN and NPI Regex Patterns
TIN_PATTERN = r"\b\d{9}\b|\b\d{2}[-.]\d{7}\b|\b\d{3}[-.]\d{2}[-.]\d{4}\b"
NPI_PATTERN = r"\b\d{10}\b"