Course of Raku / Addendum 🆕 / Types and text machines / Regexes and grammars / Exercises
Parse a date with named captures
Problem
Match the date 2026-07-03 and pull out the year, month,
and day using named captures, then print them.
Example
The program prints:
year: 2026, month: 07, day: 03Solution
Course navigation
← Solution: Extract and sum numbers | Solution: Parse a date with named captures →