Skip to content

Glossary: Embeddings and Vector Search

regular expression

Also written: regex, re.compile, re.split

A pattern that matches text, used in Python through the `re` module. It is useful for splitting text at headings, tokenizing codes, and finding or redacting things like emails and phone numbers.

Where the book teaches it

Related terms

PIItoken