Hi! Getting my hands dirty on Roc, so far great experience! But I'm wondering: Is there no such thing as a regex module?
My problem: I have a Str which encodes two types of information: I can either extract those using a regex or by splitting on an index. Both don't seem to be that easy with Roc?
The more idiomatic approach in Roc would be to parse
Something like https://github.com/lukewilliamboswell/roc-parser may be what you are looking for
Docs here: https://lukewilliamboswell.github.io/roc-parser/0.10.0/Parser/
Thank you very much! I'll have a look at it!
Last updated: Dec 21 2025 at 12:15 UTC