Skip to content

Glossary: Building with LLMs Basics

Regular expression

Also written: regex, pattern, regular expressions

A compact pattern for matching text. For example `^KC-\d{5}$` means "KC-" followed by exactly five digits; they are used for schemas, baselines, safety checks and redaction.

Where the book teaches it

Related terms

FieldRedaction