Regexp compatibility
The compiler accepts the regular-expression subset that can be represented by its automaton. Supported constructs include literals, concatenation, alternation, greedy repetition, bounded repetition, character classes, anchors in supported positions, and supported Unicode properties.
Lookaround, backreferences, and open-ended repetition are not DFA-compatible. Capturing groups are accepted with a diagnostic and do not provide capture values to actions.
When in doubt, run:
bundle exec flexr check lexer.flexr.rbThe repository’s regexp matrix lists diagnostic codes, limits, inline-option behavior, and alternatives.