Skip to content

Glossary: Building APIs with FastAPI

Regular expression

Also written: pattern, regex

A pattern language for matching text. `Query(pattern="^(name|price)$")` accepts only the words name or price.

Where the book teaches it

Related terms

Query