13.1 regex - Regular Expressions by Example

**Pattern matching and text processing with POSIX regular expressions.**

NanoLang Mascot

Quick Start

Installation

Basic Usage

API Reference

compile()

matches()

find()

find_all()

replace()

Examples

Email Validation

Phone Number Formatting

Log Parsing

URL Extraction

Common Patterns

Common Pitfalls

---

**Next:** 13.2 log - Structured Logging