Module std::regex

Regular expression matching with DFA-based engine

This module provides a deterministic finite automaton (DFA) based regular expression engine with support for Unicode, capture groups, and anchors. The implementation uses Thompson's NFA construction followed by subset construction to build an efficient DFA.

Supported Features

Limitations

Examples

Basic matching

Character classes and quantifiers

Capture groups

Anchors

Structs

A compiled regular expression.
Capture groups from a regex match