<!-- markdownlint-disable MD041 -->
Text provided by users is often unstructured and untrusted.
To ensure that the data is both safe to use and error-free, `regex.match()`
can be used to validate the data against a simple pattern.
