Decodal/examples/regex
2026-06-16 11:27:27 +09:00
..
main.dcdl Add optional regex constraints 2026-06-16 11:27:27 +09:00
README.md Add optional regex constraints 2026-06-16 11:27:27 +09:00

Regex example

Regex constraints are optional. Run this example with the regex feature enabled:

cargo run -q -p decodal --features regex -- examples/regex/main.dcdl

Without the feature, regex validation returns an unsupported feature diagnostic.