I love the concept! I recently wanted something just like this for a Flutter app I was making to parse a filename into a user defined format i.e. 2024-04-12.txt with %Y-%M-%D.txt to {year: 2024, month: 04, day: 12}. I'll certainty be using this the next time I need anything like that in Rust though.