Skip to content

Glossary: Fine-tuning LLMs

Regular expression

Also written: regex, re.search, re.match

A pattern language for matching text. It is useful for automatic checks, such as confirming an email mentions a bag count, measuring casual product names, or validating a greeting.

Where the book teaches it

Related terms

Rule check