guardrails-genie / docs /regex_model.md
geekyrakshit's picture
add: docs for regex model
1f626ee
|
raw
history blame
222 Bytes

RegexModel

!!! example "Sample Pattern" python { "email": r"[^@ \t\r\n]+@[^@ \t\r\n]+\.[^@ \t\r\n]+", "phone": r"\b\d{3}[-.]?\d{3}[-.]?\d{4}\b" }

::: guardrails_genie.regex_model