|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
Thrown when a pattern cannot be represented as a DFA. More...
#include <dfa.hpp>
Public Member Functions | |
| dfa_error (const std::string &message) | |
| Builds the error. | |
Thrown when a pattern cannot be represented as a DFA.
Four causes: a zero-width assertion other than a leading \A/^ ($, \b, \B, multiline anchors), a lookaround, a Unicode code-point class (\w/\d/\s in text mode — use byte classes), or a possessive quantifier / atomic group. real::dfa never falls back silently — a violated contract is an error the caller handles (e.g. by keeping that rule on the Pike VM).
|
inlineexplicit |
Builds the error.
| [in] | message | Human-readable cause. |